Following "Logging System" from User Guide I'm trying to turn on debugging on
Xfire.
I created a proper log4j.properties file which I placed it in
WEB-INF/classes/ (having two appenders one for Console output and a
RollingFileAppender to persist to a file); I initialized properly the
org.apache.commons.logging.Log in the related service class; I added the
DOMInHandler and DOMOutHandler plus related LoggingHandler's to each flow; I
introduced the <inHandlers> , <outHandlers> and <faultHandlers> in the
related service specification in the "services.xml" file.
I was able to register the output for XFire in a log at the beginning, but
then after just tweaking the xfire and httpclient categories and introducing
more debug statements in the service class, when I tried it again it didn't
worked anymore. It seems that log4j doesn't load the log4j.properties
anymore as it should and can not figure it out why... What one can do to
ensure correct loading of the log4j props ?
--
View this message in context:
http://www.nabble.com/Logging-System-tf4194383.html#a11928458
Sent from the XFire - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email