[Logwatch] apache access_log log file
bl_logwatch at mblmail.net
Sat Apr 30 12:41:24 MST 2005
Adi Spivak wrote:
> I use logwatch 6.0.2 , and set the LogDir to /var/log .
> My problem is that access_log is in a different folder (/var/log/www )
> and logwatch is not processing the log file.
> I even tried to make a soft ling in the /var/log folder to the file so
> it can find it , but it does not work.
> How can I make logwatch process the apache logs?
I think any one of the following three options would work:
1. Change your apache log output from /var/log/www to /var/log/httpd.
2. Link /var/log/www to /var/log/httpd
3. Add the following to conf/logfiles/http.conf:
LogFile = /var/log/www/*access_log
Archive = /var/log/www/*access_log.*
More information about the Logwatch