M
martin.strube
Hi there
My first Problem is that somehow Tomcat is in debug mode but I don't
want to see all these debug messages in the console since this takes
so long time while developing.
My second Problem is that I just want to see the debug messages from
my own Web Application, where I use log4j, in a stderr.log file.
- Im using a batch file to start my Tomcat 6.0.10. where the
server.xml and a properties file is copied to the appropriate
directories. This is necessary since I develop so many applications.
- In the batch file I start Tomcat like this:
C:\Tomcat_6.0\bin\tomcat6.exe //TS//Tomcat6 --LogLevel=ERROR --
JvmOptions=-Dserver.status=local;-Dcatalina.home=C:\Tomcat_6.0;-
Dcatalina.base=C:\Tomcat_6.0; -Djava.io.tmpdir=C:\Tomcat_6.0\temp;-
Djava.util.logging.config.file=C:\Tomcat_6.0\conf\logging.properties;-
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
- I have the standard Tomcat installation.
- In the /lib folder I additionally put the log4j1.2.8.jar, servlet-
api.jar, mysql-connector-java-3.1.10-bin.jar, junit-3.8.1.jar, commons-
collections-3.1.jar, commons-dbcp-1.2.1.jar and the commons-
pool-1.2.jar since I need this for my web application.
- How can I swith of the danmed debug mode? --LogLevel=ERROR seems
not to work...
- How can I tell Tomcat where to put the error messages? In my old
Resin.conf it was sth. like:
<web-app>
<error-log id='c:\resin-2.1.16\logs\error.log'/>
<stderr-log id='c:\resin-2.1.16\logs\stderr.log'/>
<stdout-log id='c:\resin-2.1.16\logs\stdout.log'/>
</web-app>
any hints?
Thanks
Martin
My first Problem is that somehow Tomcat is in debug mode but I don't
want to see all these debug messages in the console since this takes
so long time while developing.
My second Problem is that I just want to see the debug messages from
my own Web Application, where I use log4j, in a stderr.log file.
- Im using a batch file to start my Tomcat 6.0.10. where the
server.xml and a properties file is copied to the appropriate
directories. This is necessary since I develop so many applications.
- In the batch file I start Tomcat like this:
C:\Tomcat_6.0\bin\tomcat6.exe //TS//Tomcat6 --LogLevel=ERROR --
JvmOptions=-Dserver.status=local;-Dcatalina.home=C:\Tomcat_6.0;-
Dcatalina.base=C:\Tomcat_6.0; -Djava.io.tmpdir=C:\Tomcat_6.0\temp;-
Djava.util.logging.config.file=C:\Tomcat_6.0\conf\logging.properties;-
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
- I have the standard Tomcat installation.
- In the /lib folder I additionally put the log4j1.2.8.jar, servlet-
api.jar, mysql-connector-java-3.1.10-bin.jar, junit-3.8.1.jar, commons-
collections-3.1.jar, commons-dbcp-1.2.1.jar and the commons-
pool-1.2.jar since I need this for my web application.
- How can I swith of the danmed debug mode? --LogLevel=ERROR seems
not to work...
- How can I tell Tomcat where to put the error messages? In my old
Resin.conf it was sth. like:
<web-app>
<error-log id='c:\resin-2.1.16\logs\error.log'/>
<stderr-log id='c:\resin-2.1.16\logs\stderr.log'/>
<stdout-log id='c:\resin-2.1.16\logs\stdout.log'/>
</web-app>
any hints?
Thanks
Martin