try putting log4j in WebLogics class path

-----Original Message-----
From: Ajay Singh [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 1:02 PM
To: [EMAIL PROTECTED]
Subject: struts & log4j


Hi,
I am trying to run a sample application using log4j.I
am using struts within weblogic server. when i specify
the following property in the log4j configuration
file:

log4j.category.com.test.actions=DEBUG

to specify the priority for the category
com.test.actions, the server is crashing.I specified
the statement within a struts action class like :

 public static Category category =
Category.getInstance(MyAction.class.getName());

category.debug("xyz");

 when the server is trying to create a new instance of
the struts action class..it is getting hung up..If i
remove the above property from the logging
configuration file it works fine..It freezes up on the
statement 
action:   Creating new Action instance

can anybody help me please..

Thanks
Ajay



__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

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

Reply via email to