Hello,
Does anyone know how to configure logwatch to parse nginx logs instead
of apache ones?
Thanks.
Alex.
Posted at Nginx Forum:
Hello,
Does anyone know how to configure logwatch to parse nginx logs instead
of apache ones?
Thanks.
Alex.
Posted at Nginx Forum:
On Mon, Mar 28, 2011 at 08:19:54PM -0400, alxsss wrote:
Hello,
Does anyone know how to configure logwatch to parse nginx logs instead
of apache ones?
Use default nginx access log file format, compatible with apache one:
access_log /path/to/access.log;
–
Igor S.
http://sysoev.ru/en/
Thanks Igor,
I had before access_log /path/to/access.log main;
changed it to access_log /path/to/access.log;
Logwatch still sends emails with only disk space usage information.
Looks like it cannot find nginx logs.
Thanks.
Alex.
Posted at Nginx Forum:
On Thu, Mar 31, 2011 at 09:00:37PM -0400, alxsss wrote:
Thanks Igor,
I had before access_log /path/to/access.log main;
changed it to access_log /path/to/access.log;
Logwatch still sends emails with only disk space usage information.
Looks like it cannot find nginx logs.
Sorry, I have no idea how to configure logwatch.
–
Igor S.
http://sysoev.ru/en/
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs