After pulling my head out of....well...myself...

WebWork 1.3 on JBoss 3.0.6 (Jetty) and JDK1.4.1
WebWork was defaulting to Log4J out of the "box". (JBoss also uses log4j as
it's logger, so no need to add jars and such)

All I had to do was edit /jboss/server/default/conf/log4j.xml and tell the
CONSOLE appender to have a threshold of DEBUG, not INFO.

Sorry if I wasted your time,
Frank

----- Original Message -----
From: "Jason Carreira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 2:10 PM
Subject: RE: [OS-webwork] Webwork 1.3 Logging


I just went through this on Tomcat... You need to have a
commons-logging.properties in the classpath of JBoss. In Tomcat I put
this in the /conf directory. Here's the only line in mine:

org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Lo
g4jFactory

Then you also need a log4j.xml file in your classpath, I also put this
in the /conf directory under Tomcat. In there you can config Log4J, like
usual. You also need the Log4J jar in your classpath. I put mine in
/common/lib underTomcat.

That should be all you need. Sorry I don't know the locations under
JBoss... Post back to the list when you get the details worked out.

Jason

-----Original Message-----
From: Frank Febbraro [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 2:00 PM
To: webwork
Subject: [OS-webwork] Webwork 1.3 Logging


Hey All,

I am running Webwork 1.3 on JBoss 3.0.6 with Jetty, using JDK 1.4.1.

Call me stupid BUT for the life of me I cannot get the debug log
statements to print.  Can someone help me out a bit? The docs say log4j
is used, but it appears things have been upgraded to commons-logging
since then, but I cannot make any headway on this.

Sorry for the trivial question, thanks though :-\

Frank


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to