On Fri, 07 Dec 2012 13:39:10 +0100 Axel <[email protected]> wrote: > Hi Ben, > > you can use a syslogtag to separate one vHost from another in your > vHost log directive. > You have to cretae a template on your logserver which stores your > logfiles separated by your syslogtag > > rgds > Axel >
Hi Axel Do you have a working example of this? Is the syslogtag added in rsyslog or do you mean tell Apache to log directly to syslog? It seems like the main way to get Apache to log to both file and syslog is... http://serverfault.com/questions/385414/apache-httpd-send-error-logs-to-syslog-and-local-disk-without-touching-etc-sy Or through a Perl script such as this... http://www.oreillynet.com/pub/a/sysadmin/2006/10/12/httpd-syslog.html It would be great to be able to achieve this without much changing of Apache config. Thanks for the info! _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

