xen5
Webalizer
There is a file called
webalizer.skel
in
/etc/webalizer/
. For upcoming sites it must be copied as
imcsitename.conf
and modified as necessary.
Files named as *.conf in this dir, are invoked by a daily cron script in this way:
WEBALIZER_BIN=/usr/bin/webalizer
WEBALIZER_DIR=/etc/webalizer
for i in ${WEBALIZER_DIR}/*.conf; do ${WEBALIZER_BIN} -w -c $i; done > /dev/null 2>&1
Log rotation
Log rotation is handled by
metalog (
/etc/metalog.conf
) except for:
- apache2 logs
- emerge logs
- munin logs
that are rotated by
logrotate (
/etc/logrotate.cond
).
Logrorate also rotates Oscailt logs.