logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Chalko <N...@planetU.com>
Subject RE: struts & log4j
Date Mon, 12 Mar 2001 18:29:43 GMT
try putting log4j in WebLogics class path

-----Original Message-----
From: Ajay Singh [mailto:ajay560@yahoo.com]
Sent: Friday, March 09, 2001 1:02 PM
To: log4j-user@jakarta.apache.org
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: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message