AW: multiple web application in same web container using different log4j configuration

2008-02-29 Thread Andreas Grund
Hi Jake,

thanks for your answers. And yes, I realized that 1.3 is dead. I will switch 
back to the 1.2 branch as far as possible.

Greetings and have a nice weekend,
Andreas


-Ursprüngliche Nachricht-
Von: Jacob Kjome [mailto:[EMAIL PROTECTED]
Gesendet: Do 28.02.2008 16:09
An: Log4J Users List
Betreff: Re: multiple web application in same web container using different 
log4j configuration
 
You have one of two choices.

1.  Put Log4j in a parent classloader where all apps can see it and use a 
repository selector, usually based on JNDI.
2.  Don't put log4j in a parent classloader.  Only put it in WEB-INF/lib for 
each webapp.  And put log4j.xml in WEB-INF/classes for each webapp.  Since 
none of the webapps will be using the same log4j instance, they will each use 
a separate logger repository.

BTW, you do realize that Log4j-1.3 is not an official version of Log4j and 
development has ceased in favor of further development of Logj4-1.2.xx along 
with Log4j companions for some Log4j-1.3 specific functionality?

Jake

On Thu, 28 Feb 2008 15:16:15 +0100
  "Andreas Grund" <[EMAIL PROTECTED]> wrote:
> Hi Mailinglist,
> 
> I have several web applications running in the same container. I want to 
> use different log4j config files for them, but I have problems to do so. 
> The problem is, that every time just one web application is logging. I use 
> the weblogic 8.1 application server and log4j 1.3. What do I have to do to 
> activate logging for every web application or isn´t it possible?
> 
> Thanks for your help!
> 
> Greetings,
> Andreas
> 
> -- 
> Andreas Grund
> externer Mitarbeiter Projet GUTS bei Conti
> mailto:[EMAIL PROTECTED]
> Mobile:
> 
> 
> 
> 
> Germany
> 
> Phone:
>Fax:
> 
> 
> 
> Geschäftsführer: Ingo Kriescher
> Amtsgericht Düsseldorf HRB48672
> 
> -
> 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]



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



Re: multiple web application in same web container using different log4j configuration

2008-02-28 Thread Jacob Kjome

You have one of two choices.

1.  Put Log4j in a parent classloader where all apps can see it and use a 
repository selector, usually based on JNDI.
2.  Don't put log4j in a parent classloader.  Only put it in WEB-INF/lib for 
each webapp.  And put log4j.xml in WEB-INF/classes for each webapp.  Since 
none of the webapps will be using the same log4j instance, they will each use 
a separate logger repository.


BTW, you do realize that Log4j-1.3 is not an official version of Log4j and 
development has ceased in favor of further development of Logj4-1.2.xx along 
with Log4j companions for some Log4j-1.3 specific functionality?


Jake

On Thu, 28 Feb 2008 15:16:15 +0100
 "Andreas Grund" <[EMAIL PROTECTED]> wrote:

Hi Mailinglist,

I have several web applications running in the same container. I want to 
use different log4j config files for them, but I have problems to do so. 
The problem is, that every time just one web application is logging. I use 
the weblogic 8.1 application server and log4j 1.3. What do I have to do to 
activate logging for every web application or isn´t it possible?


Thanks for your help!

Greetings,
Andreas

--
Andreas Grund
externer Mitarbeiter Projet GUTS bei Conti
mailto:[EMAIL PROTECTED]
Mobile:




Germany

Phone:
Fax:



Geschäftsführer: Ingo Kriescher
Amtsgericht Düsseldorf HRB48672

-
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]



multiple web application in same web container using different log4j configuration

2008-02-28 Thread Andreas Grund
Hi Mailinglist,

I have several web applications running in the same container. I want to 
use different log4j config files for them, but I have problems to do so. 
The problem is, that every time just one web application is logging. I use 
the weblogic 8.1 application server and log4j 1.3. What do I have to do to 
activate logging for every web application or isn´t it possible?

Thanks for your help!

Greetings,
Andreas

-- 
Andreas Grund
externer Mitarbeiter Projet GUTS bei Conti
mailto:[EMAIL PROTECTED]
Mobile:




Germany

Phone:
Fax:



Geschäftsführer: Ingo Kriescher
Amtsgericht Düsseldorf HRB48672

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