Cannot seem to set JK2 LogLevel in Integrated Tomcat
Aaron Beverly
Greenhorn
Joined: Sep 10, 2003
Posts: 19
posted
0
Hello: I cannot seem to get rid of all the DEBUG level log messages from the JK2 connector I have setup between Apache 2 and the integrated Tomcat container in JBoss 3.2. I have set all of the debug directives in the various loggers to 0 and I have included a JkLogLevel info in my httpd.conf. My setup is as follows: I have three instances of Tomcat 4 running, with a separate ajp13 connector for each; two of these instances are stand-alone tomcats, with loadbalancing enables. The third is the integrated tomcat that comes bundled with JBoss. Everything is set up, everything works, the connectors work fine, load-balancing works fine. However, in the Integrated instance of Tomcat running in the JBoos server, I am getting all of the JK2 debugging log messages and I cannot seem to turn them off. I do not get these messages in either of the other two instances of tomcat. Is there something special I need to do get rid of these things? They are really bogging down the application and bloating the server logs. Thanks in advance, Aaron
Adam Hardy
Ranch Hand
Joined: Oct 09, 2001
Posts: 564
posted
0
Are you configuring the log4j settings in JBoss/server/default/conf/log4j.xml? Try putting in something like:
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Aaron Beverly
Greenhorn
Joined: Sep 10, 2003
Posts: 19
posted
0
Ah, you are onto something. I had to add <category name="org.apache.jk"> <priority value="INFO" /> </category> to conf/log4j.xml Thanks for the help!!
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Cannot seem to set JK2 LogLevel in Integrated Tomcat