Ian Harding wrote:
Is there any sane way to get combined logs from more than one instance
of AOLserver?  I would like to have the entries interleaved with an
identifier of which instance they came from.

From what I have read it seems impossible.

These instances are on different physical servers too.

Thanks,

Ian

One way to address this issue with apache is mod_log_spread which sends log messages over the spread group communications toolkit[1]. It wouldn't be difficult to set up something similar for aolserver. I don't know offhand if the tcl spread library is threadsafe (I suspect it isn't), but it would probably be better in any case to redo it as a ns_spread module that would share one spread connection across all threads. Still, the api is straightforward and the implementation would fairly simple. Once that's in place just use a filter proc to log to the spread channel.

Another route would be to use syslog; I'm not familiar with any tcl libs for that, but again a C implementation wouldn't be too tough.

-J

[1] http://spread.org/


--
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.

Reply via email to