Re: Juglist Digest, Vol 1, Issue 1 (Out of the Office)

"Paul Timberlake" <[email protected]>
Newsgroups gmane.org.user-groups.trijug.juglist
Message-ID <[email protected]>
I will be out of the office Friday, September 30th through Friday, October 7th, returning Monday, October 10th.

>>> Juglist 10/05/05 15:02 >>>

Send Juglist mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	http://trijug.org/mailman/listinfo/juglist_trijug.org
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Juglist digest..."


Today's Topics:

   1. Log4j: Multiple appenders and rolling the log (Sri Sankaran)


----------------------------------------------------------------------

Message: 1
Date: Mon, 3 Oct 2005 09:10:11 -0400
From: "Sri Sankaran" <[email protected]>
Subject: [Juglist] Log4j: Multiple appenders and rolling the log
To: <[email protected]>
Message-ID:
	<[email protected]>
Content-Type: text/plain; charset="us-ascii"

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/juglist_trijug.org/attachments/20051003/d0408c13/attachment-0001.htm

------------------------------

_______________________________________________
Juglist mailing list
[email protected]
http://trijug.org/mailman/listinfo/juglist_trijug.org


End of Juglist Digest, Vol 1, Issue 1
*************************************


-----------------------------------------
This e-mail and any attachments may contain CONFIDENTIAL information,
including PROTECTED HEALTH INFORMATION. If you are not the intended
recipient, any use or disclosure of this information is STRICTLY
PROHIBITED; you are requested to delete this e-mail and any
attachments, notify the sender immediately, and notify the LabCorp
Privacy Officer at [email protected] or call (877) 23-HIPAA /
(877) 234-4722.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.