On Tuesday 06 May 2008 19:23, Titi Alailima wrote: > I think the renaming fails because Windows is picky about not messing with > files that are open. Can we close the log file before rolling? Seems like > nslog does this for the access log. Just needs to be done similarly in > nsd/log.c. That might require copying a bunch of stuff over from nslog.c > or putting the common code somewhere else. There's certainly seems to be a > lot of redundancy between the two sets of code, a great candidate for > streamlining.
My guess is that it would be better to keep the two chunks of code distinct. I seem to remember that they are not that similar anyway. (For one, a single nsd can have multiple access.log files, but only one server.log file.) tom jackson -- 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.