|
| <prev next> |
Log4j: Multiple appenders and rolling the log: msg#00000org.user-groups.trijug.juglist
Our J2EE (JEE)
application comprises a WAR for the web component and an EJB JAR. Both use
the same log4j properties file and therefore are configured to write to the same
destination (a RollingFileAppender). The
trouble with this is that the file cannot be rotated because when one of the
parties (the Elb app or the web app) tries this operation, it is denied because
the other has it locked.
What is the
recommended approach around this problem? Configuring the EJB app and the
web app to write to different locations would require the untenable task of
having to piece together messages from different files to get a chronologically
contiguous listing.
Any
thoughts?
Sri
_______________________________________________Juglist mailing list Juglist-bp0x9FgzZDMdnm+yROfE0A@xxxxxxxxxxxxxxxx http://trijug.org/mailman/listinfo/juglist_trijug.org |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Next by Date: | Re: Juglist Digest, Vol 1, Issue 1 (Out of the Office): 00000, Paul Timberlake |
|---|---|
| Next by Thread: | Re: Juglist Digest, Vol 1, Issue 1 (Out of the Office): 00000, Paul Timberlake |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |