On Sun, 2004-03-07 at 04:03, Zoran Vasiljevic wrote: > Like, for example: > > set chan [open /some/file.log w] > ns_logctl pushchan $chan > ns_log notice "This goes to chan $chan" > set chan [ns_logctl popchan] > close $chan
Interesting idea, but it this a per-thread stack? I'm guessing the motivation is for performance, what if you could register log files like you register "Registered Procedures", use the trie structure to store nearest match logging. Then on restart you could easily add/remove a log file for debugging purposes, or long term high performance logging. 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.
