RE: log4j logging in Tomcat WAS: Clustering with 5.0.19
Thanks Filip, I got some logging, but far more than is useful to try and debug what session replication is going on. If I switch to a recent (nightly?) build, will I be able to add debugging specifically for the clustering? (by adding a Logger child element to Cluster in server.xml?) Up to now I've been trying to see what's going on by watching the replication packets over the network. I added a custom HttpSessionAttributeListener/HttpSessionListener to my webapp (via a listener element in my web.xml) and I'm not seeing any session events although I am seeing replication data being passed between the two servers. I'm using the DeltaManager so my assumption was that I shouldn't be. Any ideas? Please let me know what other info would be useful to paint a more complete picture! Sam. -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: 05 May 2004 16:48 To: Tomcat Users List Subject: log4j logging in Tomcat WAS: Clustering with 5.0.19 you need to enable it at the logger level, the code is currently logging with Log.info/Log.debug etc You can make is use log4j and do it using the log4j conf file http://jakarta.apache.org/commons/logging/guide.html To make some simple steps, I remember there was thread on this last week, not sure if they got it to work so here are the steps, let me know if you have problems 1. Download latest log4j package 2. Put the log4j-1.2.8.jar (or whatever name it is) in your $CATALINA_HOME/bin 3. In catalina.sh/catalina.bat add the log4j to the system classpath 4. in catalina.sh/catalina.bat, on the top add the JAVA_OPTS setting like this JAVA_OPTS=-Dlog4j.debug -Dlogj4.configuration=$CATALINA_HOME/bin/log4j.prop erties 5. Put your log4j.properties file in CATALINA_HOME/bin of course, if you are on windows you will need to change / for \ and $ for %% but I am sure you can figure that for yourself :) Filip - Original Message - From: Sam Lawrence [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 10:00 AM Subject: RE: Clustering with 5.0.19 Thanks Filip, Do you know if there is any way I can get some debug info from 5.0.19? I'd feel happier going with a release build if possible. Kind regards, Sam. -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: 05 May 2004 15:31 To: Tomcat Users List Subject: Re: Clustering with 5.0.19 useDirtyFlag is not used with the DeltaManager, only with the SimpleTcpReplicationManager. As the name suggest, the DeltaManager only replicates deltas, and hence it can only replicate when the session is dirty. The clustering configuration has changed a little bit since 5.0.19, to make it more modularized. Also, the debug flag is a thing of the past, the clustering module is currently using the commons logger, same way all the other components are using it. Filip - Original Message - From: Sam Lawrence [EMAIL PROTECTED] To: Tomcat [EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 9:26 AM Subject: Clustering with 5.0.19 Hi, I've successfully clustered two instances of Tomcat on different machines and I'm now trying to do some fine tuning on a struts based site. I want to make sure that the session is only being replicated when it needs to be. I have useDirtyFlag=true although I'm not sure that it isn't still being re-sent after every request. I have the following Cluster element in my server.xml - Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster managerClassName=org.apache.catalina.cluster.session.DeltaManager expireSessionsOnShutdown=false debug=10 printToScreen=true useDirtyFlag=true Although I have the debug/printToScreen attributes, I'm not seeing any debug information about session replication. How can I get some debug info? Any help greatly appreciated! Thanks, Sam Lawrence - 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: log4j logging and tomcat
Howdy, Set JAVA_OPTS='-Dlog4j.debug=true' in $CATALINA_HOME/bin/catalina.sh. RTFM Yoav Shapira Millennium ChemInformatics -Original Message- From: Ilja [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:37 PM To: [EMAIL PROTECTED] Subject: log4j logging and tomcat I have created a webapp and put a log4j.properties in the classpath, but the logging doesn't seem to work. So now I want to enable log4j debugging, but don't know how to set this system property with tomcat: Ie: can I set the system property '-Dlog4j.debug=true' in web.xml, is that possible? If not: how do I set this property? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: log4j logging and tomcat
Thanks, did that, but still no debuggin information is showing up in my Mac OSX console... Looks like log4j isn't used, however it is in my WEB-INF/lib dir of my webapp... Ilja From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat Date: Fri, 3 Oct 2003 14:37:50 -0400 Howdy, Set JAVA_OPTS='-Dlog4j.debug=true' in $CATALINA_HOME/bin/catalina.sh. RTFM Yoav Shapira Millennium ChemInformatics -Original Message- From: Ilja [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:37 PM To: [EMAIL PROTECTED] Subject: log4j logging and tomcat I have created a webapp and put a log4j.properties in the classpath, but the logging doesn't seem to work. So now I want to enable log4j debugging, but don't know how to set this system property with tomcat: Ie: can I set the system property '-Dlog4j.debug=true' in web.xml, is that possible? If not: how do I set this property? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: log4j logging and tomcat
Howdy, If log4j.jar is in your WEB-INF/lib, and log4j.properties is in your WEB-INF/classes, and your server is set up correctly (i.e. all examples work), and you set log4j.debug=true as a system property, and nothing shows up, I'm lost. If any of those conditions are false, correct them ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Ilja Hehenkamp [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:54 PM To: [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat Thanks, did that, but still no debuggin information is showing up in my Mac OSX console... Looks like log4j isn't used, however it is in my WEB-INF/lib dir of my webapp... Ilja From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat Date: Fri, 3 Oct 2003 14:37:50 -0400 Howdy, Set JAVA_OPTS='-Dlog4j.debug=true' in $CATALINA_HOME/bin/catalina.sh. RTFM Yoav Shapira Millennium ChemInformatics -Original Message- From: Ilja [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:37 PM To: [EMAIL PROTECTED] Subject: log4j logging and tomcat I have created a webapp and put a log4j.properties in the classpath, but the logging doesn't seem to work. So now I want to enable log4j debugging, but don't know how to set this system property with tomcat: Ie: can I set the system property '-Dlog4j.debug=true' in web.xml, is that possible? If not: how do I set this property? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: log4j logging and tomcat
all prerequisites are true I'm affraid :( Directory listing: /Library/Tomcat/webapps/Mathesis/WEB-INF/classes: hibernate.cfg.xml log4j.propertiesorg osuser.xml /Library/Tomcat/webapps/Mathesis/WEB-INF/lib: cglib.jar hibernate2.jar commons-beanutils-1.6.1.jar jdom.jar commons-collections-2.1.jar log4j-1.2.8.jar commons-lang-1.0.1.jar osaccess-2.0.0.jar commons-logging-1.0.2.jar oscore-2.2.2-dev.jar commons-logging-api-1.0.2.jar osuser-1.0-dev.jar dom4j.jar struts.jar log4j.properties: ### direct log messages to stdout ### log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n ### direct messages to file hibernate.log ### # log4j.appender.file=org.apache.log4j.FileAppender # log4j.appender.file.File=hibernate.log # log4j.appender.file.layout=org.apache.log4j.PatternLayout # log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n ### set log levels - for more verbose logging change 'info' to 'debug' ## log4j.debug=true log4j.rootLogger=debug, stdout log4j.logger.net.sf.hibernate=debug, file, stdout log4j.logger.com.opensymphony=debug, stdout log4j.logger.org.mathesis=debug, stdout ### enable the following line if you want to track down connection ### ### leakages when using DriverManagerConnectionProvider ### #log4j.logger.net.sf.hibernate.connection.DriverManagerConnectionProvider=trace ### log JDBC bind parameters ### log4j.logger.net.sf.hibernate.type=debug ### log prepared statement cache activity ### log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=debug Ilja From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat Date: Fri, 3 Oct 2003 14:55:44 -0400 Howdy, If log4j.jar is in your WEB-INF/lib, and log4j.properties is in your WEB-INF/classes, and your server is set up correctly (i.e. all examples work), and you set log4j.debug=true as a system property, and nothing shows up, I'm lost. If any of those conditions are false, correct them ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Ilja Hehenkamp [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:54 PM To: [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat Thanks, did that, but still no debuggin information is showing up in my Mac OSX console... Looks like log4j isn't used, however it is in my WEB-INF/lib dir of my webapp... Ilja From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat Date: Fri, 3 Oct 2003 14:37:50 -0400 Howdy, Set JAVA_OPTS='-Dlog4j.debug=true' in $CATALINA_HOME/bin/catalina.sh. RTFM Yoav Shapira Millennium ChemInformatics -Original Message- From: Ilja [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:37 PM To: [EMAIL PROTECTED] Subject: log4j logging and tomcat I have created a webapp and put a log4j.properties in the classpath, but the logging doesn't seem to work. So now I want to enable log4j debugging, but don't know how to set this system property with tomcat: Ie: can I set the system property '-Dlog4j.debug=true' in web.xml, is that possible? If not: how do I set this property? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you
RE: log4j logging and tomcat
Howdy, Ahh, I should've known commons-logging was in the mix... Let's try temporarily to remove commons-logging*.jar from your WEB-INF/lib. See what happens... Yoav Shapira Millennium ChemInformatics -Original Message- From: Ilja Hehenkamp [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 3:06 PM To: [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat all prerequisites are true I'm affraid :( Directory listing: /Library/Tomcat/webapps/Mathesis/WEB-INF/classes: hibernate.cfg.xml log4j.propertiesorg osuser.xml /Library/Tomcat/webapps/Mathesis/WEB-INF/lib: cglib.jar hibernate2.jar commons-beanutils-1.6.1.jar jdom.jar commons-collections-2.1.jar log4j-1.2.8.jar commons-lang-1.0.1.jar osaccess-2.0.0.jar commons-logging-1.0.2.jar oscore-2.2.2-dev.jar commons-logging-api-1.0.2.jar osuser-1.0-dev.jar dom4j.jar struts.jar log4j.properties: ### direct log messages to stdout ### log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n ### direct messages to file hibernate.log ### # log4j.appender.file=org.apache.log4j.FileAppender # log4j.appender.file.File=hibernate.log # log4j.appender.file.layout=org.apache.log4j.PatternLayout # log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n ### set log levels - for more verbose logging change 'info' to 'debug' ## log4j.debug=true log4j.rootLogger=debug, stdout log4j.logger.net.sf.hibernate=debug, file, stdout log4j.logger.com.opensymphony=debug, stdout log4j.logger.org.mathesis=debug, stdout ### enable the following line if you want to track down connection ### ### leakages when using DriverManagerConnectionProvider ### #log4j.logger.net.sf.hibernate.connection.DriverManagerConnectionProvid er=t race ### log JDBC bind parameters ### log4j.logger.net.sf.hibernate.type=debug ### log prepared statement cache activity ### log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=debug Ilja From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat Date: Fri, 3 Oct 2003 14:55:44 -0400 Howdy, If log4j.jar is in your WEB-INF/lib, and log4j.properties is in your WEB-INF/classes, and your server is set up correctly (i.e. all examples work), and you set log4j.debug=true as a system property, and nothing shows up, I'm lost. If any of those conditions are false, correct them ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Ilja Hehenkamp [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:54 PM To: [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat Thanks, did that, but still no debuggin information is showing up in my Mac OSX console... Looks like log4j isn't used, however it is in my WEB-INF/lib dir of my webapp... Ilja From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat Date: Fri, 3 Oct 2003 14:37:50 -0400 Howdy, Set JAVA_OPTS='-Dlog4j.debug=true' in $CATALINA_HOME/bin/catalina.sh. RTFM Yoav Shapira Millennium ChemInformatics -Original Message- From: Ilja [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:37 PM To: [EMAIL PROTECTED] Subject: log4j logging and tomcat I have created a webapp and put a log4j.properties in the classpath, but the logging doesn't seem to work. So now I want to enable log4j debugging, but don't know how to set this system property with tomcat: Ie: can I set the system property '-Dlog4j.debug=true' in web.xml, is that possible? If not: how do I set this property? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl
RE: log4j logging and tomcat
Nothing changed :( I'm outa luck... Does log4j.jar also needs to be placed in $catalina_home/common/lib? From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat Date: Fri, 3 Oct 2003 15:10:31 -0400 Howdy, Ahh, I should've known commons-logging was in the mix... Let's try temporarily to remove commons-logging*.jar from your WEB-INF/lib. See what happens... Yoav Shapira Millennium ChemInformatics -Original Message- From: Ilja Hehenkamp [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 3:06 PM To: [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat all prerequisites are true I'm affraid :( Directory listing: /Library/Tomcat/webapps/Mathesis/WEB-INF/classes: hibernate.cfg.xml log4j.propertiesorg osuser.xml /Library/Tomcat/webapps/Mathesis/WEB-INF/lib: cglib.jar hibernate2.jar commons-beanutils-1.6.1.jar jdom.jar commons-collections-2.1.jar log4j-1.2.8.jar commons-lang-1.0.1.jar osaccess-2.0.0.jar commons-logging-1.0.2.jar oscore-2.2.2-dev.jar commons-logging-api-1.0.2.jar osuser-1.0-dev.jar dom4j.jar struts.jar log4j.properties: ### direct log messages to stdout ### log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n ### direct messages to file hibernate.log ### # log4j.appender.file=org.apache.log4j.FileAppender # log4j.appender.file.File=hibernate.log # log4j.appender.file.layout=org.apache.log4j.PatternLayout # log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n ### set log levels - for more verbose logging change 'info' to 'debug' ## log4j.debug=true log4j.rootLogger=debug, stdout log4j.logger.net.sf.hibernate=debug, file, stdout log4j.logger.com.opensymphony=debug, stdout log4j.logger.org.mathesis=debug, stdout ### enable the following line if you want to track down connection ### ### leakages when using DriverManagerConnectionProvider ### #log4j.logger.net.sf.hibernate.connection.DriverManagerConnectionProvid er=t race ### log JDBC bind parameters ### log4j.logger.net.sf.hibernate.type=debug ### log prepared statement cache activity ### log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=debug Ilja From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat Date: Fri, 3 Oct 2003 14:55:44 -0400 Howdy, If log4j.jar is in your WEB-INF/lib, and log4j.properties is in your WEB-INF/classes, and your server is set up correctly (i.e. all examples work), and you set log4j.debug=true as a system property, and nothing shows up, I'm lost. If any of those conditions are false, correct them ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Ilja Hehenkamp [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:54 PM To: [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat Thanks, did that, but still no debuggin information is showing up in my Mac OSX console... Looks like log4j isn't used, however it is in my WEB-INF/lib dir of my webapp... Ilja From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: log4j logging and tomcat Date: Fri, 3 Oct 2003 14:37:50 -0400 Howdy, Set JAVA_OPTS='-Dlog4j.debug=true' in $CATALINA_HOME/bin/catalina.sh. RTFM Yoav Shapira Millennium ChemInformatics -Original Message- From: Ilja [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:37 PM To: [EMAIL PROTECTED] Subject: log4j logging and tomcat I have created a webapp and put a log4j.properties in the classpath, but the logging doesn't seem to work. So now I want to enable log4j debugging, but don't know how to set this system property with tomcat: Ie: can I set the system property '-Dlog4j.debug=true' in web.xml, is that possible? If not: how do I set this property? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you