Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Web Log File Gets Bigger and Bigger

Discussion in 'General Discussion' started by andywest, Jan 22, 2007.

  1. andywest

    andywest Registered

    Joined:
    Aug 17, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    We're new to our own servers and use CPanel, Apache Web Server, and Red Hat Linux Enterprise.

    How do I get the web log file of one of our web sites to not keep growing bigger and bigger each month? I can no longer open it in a word processor.

    When we previously used CPanel with a hosting company the log files started from zero size each month and were saved. That's what we want.

    Thank you,
    Andy
     
  2. xerophyte

    xerophyte Well-Known Member

    Joined:
    Mar 16, 2003
    Messages:
    216
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Canada
    Code:
     man logrotate 
    logrotate is designed to ease administration of systems that generate large numbers of log files. It allows automatic rotation, compression,removal, and mailing of log files. Each log file may be handled daily, weekly, monthly, or when it grows too large.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice