> > Hi Ben, > > > > 2012/12/7 Ben Bradley <[email protected]> > > > > > I've tested rsyslog using the imfile module to watch each Apache > log > > > files, but this means I have to hard-code each vhost log file into > my > > > rsyslog.conf. This is not ideal as people will invariably forget > when they > > > add/remove sites on the server. > > > > > > 2) What's the best way to log to both vhost-specific log files on > the web > > > server and to send these logs over the network, without using > imfile and > > > manually watching tens of individual log files? > > > > > > > Just a quick note: I assume imfile can be changed to support > wildcards > > and/or templates. > > > > Yeah wildcards would be a possible solution. But I wasn't aware that > imfile supported wildcards out of the box? Unfortunately, it doesn't do out of the box. Someone wanted to take up that task, and there is a 90% finished solution buried in the forums.
Side-note: looks like I need to put this back onto my todo list ;) Rianer _______________________________________________ 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.

