LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Remote syslog logging for apache logs (http://www.linuxquestions.org/questions/linux-software-2/remote-syslog-logging-for-apache-logs-701747/)

linuxfia 02-02-2009 05:08 PM

Remote syslog logging for apache logs
 
For remote syslog logging of the general log files, I set:

Quote:

*.=info;*.=notice;*.=warn;\
auth,authpriv.none;\
cron,daemon.none;\
mail,news.none @loghost
How do I setup the remote syslog logging of apache logs? Do I just add a line in the httpd.conf file to for example ?:

Quote:

ErrorLog /var/log/apache2/error.log
ErrorLog @loghost

FragInHell 02-02-2009 06:00 PM

You will need to send the Logs to syslog, then let syslog handle the remote sending.

with A quick google I found this : http://www.oreillynet.com/pub/a/sysa...pd-syslog.html

linuxfia 02-02-2009 06:14 PM

That was what I needed.

Thx.


All times are GMT -5. The time now is 05:25 AM.