$Id: README,v 1.2 2002/09/16 18:05:21 toma Exp $

apache module to log via syslog() the access access_log
named:
mod-witch

of course, dedicated to Witch69 AKA Eprecske :)
kisses,

toma

(C) Tamas SZERB <toma@rulez.org>
under GPL, see COPYING file

These options need to be in the apache conf file
on debian /etc/apache/httpd.conf:

LoadModule witch_module /usr/lib/apache/1.3/mod_witch.so

and these can be the options:

WitchIdent anystring
	the syslog program's name to log with
WitchOption LOG_CONS, LOG_NDELAY, LOG_PERROR, LOG_PID
	the syslog options. optional, the default is LOG_PID
WitchFacility LOG_AUTH, LOG_AUTHPRIV, LOG_CRON, LOG_DAEMON, LOG_KERN, LOG_LOCAL0-LOG_LOCAL7, LOG_LPR, LOG_MAIL, LOG_NEWS, LOG_SYSLOG, LOG_USER, LOG_UUCP
	the syslog facility, optional, the default is LOG_DAEMON
WitchLevel LOG_EMERG, LOG_ALERT, LOG_CRIT, LOG_ERR, LOG_WARNING, LOG_NOTICE, LOG_INFO, LOG_DEBUG
	the syslog log level, optional, the default is LOG_INFO
WitchError log|error 
	what to do if error occurs, the default is log
WitchLogStyle ip|hostname
	ip implemented only at this moment, the default is ip
	if you try to use hostname it gives back in the log (null)


for example, on my system (yeah, a debian one ;) ) /etc/apache/httpd.conf:

#mod-witch:
LoadModule witch_module /usr/lib/apache/1.3/mod_witch.so
WitchIdent mod-witch
WitchOption LOG_PID
WitchFacility LOG_DAEMON
WitchLevel LOG_INFO
WitchError log
WitchLogStyle hostname
