The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
Article Feedback - Installing an IRC Proxy *
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 simple solution
Author: dinocookie 
Date:   29-05-04 01:28



Since apache httpd is capable of writing log files through pipes, redirecting messages through /usr/bin/logger is a convenient way to avoid losing data.

# syslog.conf
local1.* /var/log/httpd-access.log

# httpd.conf
ErrorLog "|/usr/bin/logger -p local1.err"
CustomLog "|/usr/bin/logger -p local1.info" common


Well, because the format of logging messages is slightly changed, additional processing may needed before analyzing them.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org