I am new with rsyslog and I have the following concern: How can I send from rsyslog clients, logs of services other than those written in /var/log/messagess ? For example the logs from : * /var/log/service_x/* * /var/log/service_y/*
Can I configure the rsyslog client to include more paths to log files ? I tried the following with apache logs, through a pipe to logger utility( /etc/apache2/..virtualHost.conf ): ``` CustomLog "| /bin/sh -c '/usr/bin/tee -a /var/log/httpd/local-access_log | /usr/bin/logger -thttpd -plocal1.notice'" combined ErrorLog "|/bin/sh -c '/usr/bin/tee -a /var/log/httpd/local-error_log | /usr/bin/logger -thttpd -plocal1.err'" ``` and without any configuration either to the rsyslog client or to the rsyslog server I receive the logs on my ryslog server. But, I don't like this way, and I don't think it's the best way to do it. In addition, what will I do in other services ( databases for example ) ? Thanks in advance, _______________________________________________ rsyslog mailing list https://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.

