>>>>> Tom Ivar Helbekkmo <[EMAIL PROTECTED]> writes:

 > "Kris Rehberg" <[EMAIL PROTECTED]> writes:
 >> Has anyone gotten their server.log to roll automatically?

 > I use the following:

 > ns_section "ns/parameters"
 > ns_param serverlog "smc.log"
 > ns_param logroll true
 > ns_param maxbackup 14

 > ...but it doesn't work.  :-( The name is used, but there's no
 > rolling.

nslog is working for me with the following config:

ns_section ns/server/${service_short_name}/module/nslog
ns_param EnableHostnameLookup Off
ns_param File ${AOL_HOME}/log/${service_short_name}.log
ns_param LogCombined On
ns_param LogRefer Off
ns_param LogUserAgent Off
ns_param MaxBackup 5
ns_param RollDay *
ns_param RollFmt %Y-%m-%d-%H:%M
ns_param RollHour 0
ns_param RollOnSignal On
ns_param RollLog On

Dave

Reply via email to