Including hostname in apache logwatch reports
Posted
by
Robert Munteanu
on Server Fault
See other posts from Server Fault
or by Robert Munteanu
Published on 2009-06-12T08:03:23Z
Indexed on
2011/01/04
0:55 UTC
Read the original article
Hit count: 667
When hosting multiple domains with apache it's useful to see the logwatch apache output with the virtual host name included, but I only get:
--------------------- httpd Begin ------------------------
Requests with error response codes
400 Bad Request
/: 1 Time(s)
/robots.txt: 1 Time(s)
whereas I would like something like
--------------------- httpd Begin ------------------------
Requests with error response codes
400 Bad Request
example.com/: 1 Time(s)
example.org/robots.txt: 1 Time(s)
How can I achieve this with logwatch?
© Server Fault or respective owner