So if the log file's name changes then webalizer.conf breaks.
Is there a way to make sure that I'm okay as is, or does anyone
have any
suggestions on what I should do differently?
I find the default log rolling behaviour of Apache to be really
annoying, and I always install cronolog.
so you then get logs that are in folders by year and named by year
and month.
I find this works really well combined with awstats, which I prefer
to Webalizer, as you can tell awstats to look for logs with a
similar (but different) syntax.
The "-2" bits for awstats represent that date two hours ago, so it
happily copes with situations where your log is rolling over to a
new month.
According to the rotatelogs man file:
OPTIONS
logfile
The path plus basename of the logfile. If logfile
includes any
% characters, it is treated as a format string for
strftime(3).
Otherwise, the suffix .nnnn is automatically added
and is the
time at which the logfile was created.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden
This email sent to email@hidden