Including hostname in apache logwatch reports
- by Robert Munteanu
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?