|
From: Sujatha B. <suj...@td...> - 2007-09-06 13:02:36
|
Please find wrapper.conf and log4j.properties file attached.
=20
This is how i am initializing in my java program.
static Logger logger =3D Logger.getRootLogger();
=20
----- Original Message -----
From: wra...@li... on behalf of Rodrigo Vega=
=20
Sent: Thu, 6/9/2007 13:44
To: wra...@li...
Subject: Re: [Wrapper-user] Log4j with the wrapper=20
=20
=20
I have a very similar problem a couple of weeks ago... An the wrapper works
fine.=20
Attach your wrapper.conf and show me how you are initializing your log4j. I=
f
you are loading your log4j.xml from the classpath there are many possible
problems like:
log4j doesn't found the log4j.xml in the classpath
you have multiples log4j.xml in your classpath and is not loading the right
one
etc..
Regards..
Rodrigo G. Vega
i411 Argentina
rv...@i4...
Este mensaje es confidencial. Si usted ha recibido este e-mail por error, p=
or
favor comun=EDquenoslo inmediatamente v=EDa e-mail y tenga la amabilidad de
eliminarlo de su sistema; no deber=E1 copiar el mensaje ni divulgar su
contenido a ninguna persona. Muchas gracias.
This message is confidential. If you have received it by mistake please let
us know by e-mail immediately and delete it from your system; you should al=
so
not copy the message nor disclose its contents to anyone. Many thanks.
-----Original Message-----
From: wra...@li... on behalf of Sujatha
Bharathan
Sent: Thu 06/09/2007 6:01
To: wra...@li...
Subject: [Wrapper-user] Log4j with the wrapper
Hi,
I am using the webservice to create a windows service for my java program. =
I
have configured log4j for seeing hte logging for my java file.
But i see that my log file is not created at all. I see a wrapper.log file
and all my console output appears in the wrapper.log. But i am expecting al=
l
the same in my logfile.
Does the wrapper override any existing configuration for log4j and can writ=
e
only inside the configuration file of the wrapper?
Is there any work around for this?
Thanks
Sujie |