David Thielen wrote:
> In the J2EE environment, we can end up with our code running in multiple
> JVMs on one server.
>
> Is there a way to have all the JVMs write to the same log file?
>
This same problem arises in any kind of app server environment. I've
done this in CORBA environments using SocketAppender. All the servers
(JVMs) log to a single socket server (I called them dispatchers). The
dispatcher collects the events from all the processes and dispatches
them to its appenders. These could be files, a console or an enterprise
system management agent.
- Paul
--
Beware of bugs in the above code. I have
only proved it correct, not tried it.
-Don Knuth
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]