View previous topic :: View next topic |
Author |
Message |
happysmash27 Tux's lil' helper

Joined: 28 Mar 2016 Posts: 142
|
Posted: Mon Jul 13, 2020 8:31 am Post subject: How do I stop Apache from purging logs? |
|
|
I was just looking back through my logs to try to re-measure the current market share of Linux machines accessing my website, and have only just now noticed that all logs older than a few weeks are being automatically deleted. How can I stop them from being deleted in order to measure long-term trends? /etc/apache2/modules.d/00_mod_log_config.conf does not seem to have any settings related to the rotatelogs module that is probably doing this. |
|
Back to top |
|
 |
Banana l33t


Joined: 21 May 2004 Posts: 751 Location: Germany
|
|
Back to top |
|
 |
dmpogo Advocate

Joined: 02 Sep 2004 Posts: 2966 Location: Canada
|
Posted: Mon Jul 13, 2020 8:04 pm Post subject: Re: How do I stop Apache from purging logs? |
|
|
happysmash27 wrote: | I was just looking back through my logs to try to re-measure the current market share of Linux machines accessing my website, and have only just now noticed that all logs older than a few weeks are being automatically deleted. How can I stop them from being deleted in order to measure long-term trends? /etc/apache2/modules.d/00_mod_log_config.conf does not seem to have any settings related to the rotatelogs module that is probably doing this. |
Check what is in
/etc/logrotate.d/apache2 |
|
Back to top |
|
 |
|