Howdy,
See
http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/spi/Repository
Selector.html
and then the sandbox implementations at
http://cvs.apache.org/viewcvs/jakarta-log4j-sandbox/src/java/org/apache/
log4j/selector/

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Prabhat Kumar (IT) [mailto:[EMAIL PROTECTED]
>Sent: Thursday, June 26, 2003 1:14 PM
>To: Tomcat Users List
>Subject: RE: Log4j problem mixing 2 apps
>
>> Alternatively, you could use a servlet context repository selector,
but
>> the above should be sufficient.
>
>Curious about what you mean by this (servlet context repository
selector)?
>
>-----Original Message-----
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Thursday, June 26, 2003 9:47 AM
>To: Tomcat Users List
>Subject: RE: Log4j problem mixing 2 apps
>
>
>
>Howdy,
>Make sure the log4j jar is in each app's WEB-INF/lib directory, not in
>tomcat's common/lib directory.  Make sure each app has its own
>configuration files and that the log files for the apps are different.
>
>Alternatively, you could use a servlet context repository selector, but
>the above should be sufficient.
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-----Original Message-----
>>From: Jim Lynch [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, June 26, 2003 9:41 AM
>>To: tomcat
>>Subject: Log4j problem mixing 2 apps
>>
>>I've two different applications running, using log4j to log.  For some
>>reason output destined for one app gets in the others log.  It looks
>>like only one application can have a log at a time.
>>
>>What might I have done to cause this problem? It looks like the
>>application that has been deployed last gets all the log messages.
>>
>>Thanks,
>>Jim.
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary and/or privileged.  This e-mail is intended only for the
>individual(s) to whom it is addressed, and may not be saved, copied,
>printed, disclosed or used by anyone else.  If you are not the(an)
intended
>recipient, please immediately delete this e-mail from your computer
system
>and notify the sender.  Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to