Skip to main content

How to keep more months of apache logs archive?

Comments

4 comments

  • sysnishit
    Hello, You can configure it from WHM > server configuration > Tweak Settings >>> Stats and Logs > Here you can configure it as per your requirement. Delete each domain"s access logs after statistics are gathered > turn it off Remove the previous month's archived logs from the user's ho.... > turn if off.
    0
  • Scott Galambos
    Hello, You can configure it from WHM > server configuration > Tweak Settings >>> Stats and Logs > Here you can configure it as per your requirement. Delete each domain"s access logs after statistics are gathered > turn it off Remove the previous month's archived logs from the user's ho.... > turn if off.

    Thanks. To confirm though, the issue with this is I will have archived .gz log files for all months piling up in /home/user/logs now correct? And its up to me to manually delete anything over x months correct?
    0
  • sysnishit
    Thanks. To confirm though, the issue with this is I will have archived .gz log files for all months piling up in /home/user/logs now correct? And its up to me to manually delete anything over x months correct?

    Yes correct.
    0
  • cPanelLauren
    Hello @midnightcafe is exactly correct about this. We'll remove them after a month but if you have that option deselected you'll need to manage their removal. Thanks!
    0

Please sign in to leave a comment.