Thanks for all your prompt replies Dossy - aolserver is so much the
better these days!
In the standard openacs config, the error log is always error.log and
the site log is ${server}.log - not sure why one references the server
name and the other doesn't...
I'm on linux, but it's a good suggestion - a colon may well need some
special escaping, so I changed it as per your suggestion.
That's interesting to note about the rollfmt/maxbackup thing - it
answers Janine's point about eventually losing log data with maxbackup.
Dossy Shiobara wrote:
Mark,
Looking back to your original mail ...
ns_section ns/server/${server}/module/nslog
...
ns_param file ${serverroot}/log/${server}.log
Um, that's the path for the server log, but nslog is the configuration
for access logs. Is your access log getting clobbered by your server
log?
ns_param maxbackup 1000
ns_param rollday *
ns_param rollfmt %Y-%m-%d-%H:%M
ns_param rollhour 0
ns_param rollonsignal true
ns_param rolllog true
Ah, if you set "rollfmt", then "maxbackup" is effectively ignored.
What OS are you on? Is ":" a legal character in filenames on the
filesystem you're writing to? (It isn't on Win32, for example.) It
might be worth changing "rollfmt" to just "%Y-%m-%d-%H-%M" to test.
-- Dossy
--
Mark Aufflick
e: [EMAIL PROTECTED]
w: www.pumptheory.com (business)
w: mark.aufflick.com (personal)
p: +61 438 700 647
f: +61 2 9436 4737
========================================================================
iBurst Wireless Broadband from $34.95/month www.platformnetworks.net
Forward undetected SPAM to: [EMAIL PROTECTED]
========================================================================
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]>
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.