tribina
08-09-2009, 21:56
Hello,
I support a commercial application running under Tomcat 5.5.27. The application is BusinessObjects XIR2. This app comes bundled with Tomcat 5.0.27, but for security reasons I moved it to run under Tomcat 5.5.27.
The problem I have is that since I've moved it to run under the new version of Tomcat my stdout.log file is littered with DEBUG messages. I'm using the same WAR files that get deployed to the 5.0.27 instance.
sample stdout.log
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - JspEngine --> /InfoView/main/main.jsp
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - ServletPath: /InfoView/main/main.do
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - PathInfo: null
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - RealPath: e:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\businessobjects#enterprise115#desktopl aunch\InfoView\main\main.jsp
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - RequestURI: /businessobjects/enterprise115/desktoplaunch/InfoView/main/main.do
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - QueryString: objId=0
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - Request Params:
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - objId = 0
173516 [http-9080-3] DEBUG org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/businessobjects/enterprise115/desktoplaunch] - servletPath=/InfoView/main/headerPlus.jsp, pathInfo=null, queryString=null, name=null
173516 [http-9080-3] DEBUG org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/businessobjects/enterprise115/desktoplaunch] - Path Based Include
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - JspEngine --> /InfoView/main/headerPlus.jsp
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - ServletPath: /InfoView/main/headerPlus.do
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - PathInfo: null
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - RealPath: e:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\businessobjects#enterprise115#desktopl aunch\InfoView\main\headerPlus.jsp
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - RequestURI: /businessobjects/enterprise115/desktoplaunch/InfoView/main/headerPlus.do
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - QueryString: objId=0
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - Request Params:
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - objId = 0
I have the standard logging.properties file that comes with Tomcat with the exception that I disabled the console handler.
I've googled how to disable this level of debugging, but have been unable to figure it out. According to some posts and the vendor, it was suggested I setup log4j. I did it following the instructions here. (http://tomcat.apache.org/tomcat-5.5-doc/logging.html)
With this it still yields the same output. The vendor then suggested I use the following log4j.properties
log4j.rootLogger=ERROR, stdout, TOMCAT
log4j.appender.stdout=org.apache.log4j.ConsoleAppe nder
log4j.appender.stdout.layout=org.apache.log4j.Patt ernLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ dd-MM-yy HH:mm:ss:SSS} - {%p} %c{2} Thread [%t]; %x %m%n
log4j.appender.TOMCAT=org.apache.log4j.DailyRollin gFileAppender
log4j.appender.TOMCAT.File=${catalina.home}/logs/tomcat.log
log4j.appender.TOMCAT.DatePattern='.'yyyy-MM-dd
log4j.appender.TOMCAT.layout=org.apache.log4j.Patt ernLayout
log4j.appender.TOMCAT.layout.ConversionPattern=%d{ dd-MM-yy HH:mm:ss:SSS} - {%p} %c{2} Thread [%t]; %x %m%n
However, this didn't help it either.
I've turned on -Dlog4j.debug to see what it does, but no where do I find where DEBUG level logging is getting turned on.
I've even added the following to the log4.properties at the recommendation of another post.
log4j.logger.org.apache.catalina.core=ERROR
log4j.logger.org.apache.catalina.session=ERROR
log4j.logger.org.apache.jasper.compiler=ERROR
Again, same result.
I don't have a clue where this level of debugging is getting set. Any help you guys can offer is greatly appreciated.
Thank you. -CB
I support a commercial application running under Tomcat 5.5.27. The application is BusinessObjects XIR2. This app comes bundled with Tomcat 5.0.27, but for security reasons I moved it to run under Tomcat 5.5.27.
The problem I have is that since I've moved it to run under the new version of Tomcat my stdout.log file is littered with DEBUG messages. I'm using the same WAR files that get deployed to the 5.0.27 instance.
sample stdout.log
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - JspEngine --> /InfoView/main/main.jsp
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - ServletPath: /InfoView/main/main.do
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - PathInfo: null
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - RealPath: e:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\businessobjects#enterprise115#desktopl aunch\InfoView\main\main.jsp
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - RequestURI: /businessobjects/enterprise115/desktoplaunch/InfoView/main/main.do
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - QueryString: objId=0
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - Request Params:
173109 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - objId = 0
173516 [http-9080-3] DEBUG org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/businessobjects/enterprise115/desktoplaunch] - servletPath=/InfoView/main/headerPlus.jsp, pathInfo=null, queryString=null, name=null
173516 [http-9080-3] DEBUG org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/businessobjects/enterprise115/desktoplaunch] - Path Based Include
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - JspEngine --> /InfoView/main/headerPlus.jsp
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - ServletPath: /InfoView/main/headerPlus.do
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - PathInfo: null
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - RealPath: e:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\businessobjects#enterprise115#desktopl aunch\InfoView\main\headerPlus.jsp
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - RequestURI: /businessobjects/enterprise115/desktoplaunch/InfoView/main/headerPlus.do
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - QueryString: objId=0
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - Request Params:
173516 [http-9080-3] DEBUG org.apache.jasper.servlet.JspServlet - objId = 0
I have the standard logging.properties file that comes with Tomcat with the exception that I disabled the console handler.
I've googled how to disable this level of debugging, but have been unable to figure it out. According to some posts and the vendor, it was suggested I setup log4j. I did it following the instructions here. (http://tomcat.apache.org/tomcat-5.5-doc/logging.html)
With this it still yields the same output. The vendor then suggested I use the following log4j.properties
log4j.rootLogger=ERROR, stdout, TOMCAT
log4j.appender.stdout=org.apache.log4j.ConsoleAppe nder
log4j.appender.stdout.layout=org.apache.log4j.Patt ernLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ dd-MM-yy HH:mm:ss:SSS} - {%p} %c{2} Thread [%t]; %x %m%n
log4j.appender.TOMCAT=org.apache.log4j.DailyRollin gFileAppender
log4j.appender.TOMCAT.File=${catalina.home}/logs/tomcat.log
log4j.appender.TOMCAT.DatePattern='.'yyyy-MM-dd
log4j.appender.TOMCAT.layout=org.apache.log4j.Patt ernLayout
log4j.appender.TOMCAT.layout.ConversionPattern=%d{ dd-MM-yy HH:mm:ss:SSS} - {%p} %c{2} Thread [%t]; %x %m%n
However, this didn't help it either.
I've turned on -Dlog4j.debug to see what it does, but no where do I find where DEBUG level logging is getting turned on.
I've even added the following to the log4.properties at the recommendation of another post.
log4j.logger.org.apache.catalina.core=ERROR
log4j.logger.org.apache.catalina.session=ERROR
log4j.logger.org.apache.jasper.compiler=ERROR
Again, same result.
I don't have a clue where this level of debugging is getting set. Any help you guys can offer is greatly appreciated.
Thank you. -CB