Miro,
I just replace System.out and System.err with my own PrintWriter that goes to a
rolling log file. Then I set up my other applications, JOnAS, Tomcat, spyderMQ
to log to System.out and System.err. It is rather simple.
Sun is working on a logging stuff for inclusion in J2SE 1.4 Beta around March
2001.
http://java.sun.com/aboutJava/communityprocess/jsr/jsr_047_log.html
Hopefully that will catch on quickly and everyone will start using it quickly.
Then we won't have to worry.
John
"Halas, Miroslav" wrote:
> I have question about logging. We have an application which works on top of
> Jetty and Jonas. Jetty and Jonas provides their own logging facilities and
> our application (guess what ;-) implements its own logger class as well. We
> would like to have all these tree systems logs their messages into single
> file. Is there any way, how can I setup Jonas and Jetty to log their
> messages to a file which is shared with some other system (so that multiple
> entities can write to a file) or is there a way, how can I setup Jonas and
> Jetty to use our logger facility (or the other way around) so that we take
> care of synchronization? Thanks in advance,
>
> Miro Halas
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".