-----Original Message----- From: Jacob Kjome >Is it the commons-logging that produces catalina_log.date.txt? Is there >a config file as per log4j? > >Even when testing, this file becomes quite significant. >It would be nice to reduce/minimise its output. Ultimately, Tomcat uses commons-logging for logging, but uses its own Logger interface which is configured in context configuration files or server.xml. Note that this is no longer the case in 5.5.x. Read the docs on Tomcat's Logger's for more info.
tc 5.0.27, server.xml has <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/> and <Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" verbosity="1" timestamp="true"/> The documentation states that verbosity = 1 should log errors only? (which it states to be the default) I don't think the log output below constitute errors? Is there somewhere else that I can restrict the log output to errors only please? regards DaveP 2004-10-04 09:22:16 RequestDumperValve[Catalina]: =============================================================== 2004-10-04 09:22:20 RequestDumperValve[Catalina]: REQUEST URI =/repository/getit 2004-10-04 09:22:20 RequestDumperValve[Catalina]: authType=null 2004-10-04 09:22:20 RequestDumperValve[Catalina]: characterEncoding=null 2004-10-04 09:22:20 RequestDumperValve[Catalina]: contentLength=692 2004-10-04 09:22:20 RequestDumperValve[Catalina]: contentType=multipart/form-data; boundary=---------------------------7d4115142050a 2004-10-04 09:22:20 RequestDumperValve[Catalina]: contextPath=/repository 2004-10-04 09:22:20 RequestDumperValve[Catalina]: cookie=JSESSIONID=01EAE058F0AEC86BC398EA7903822329 2004-10-04 09:22:20 RequestDumperValve[Catalina]: header=accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/xhtml+xml, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* 2004-10-04 09:22:20 RequestDumperValve[Catalina]: header=referer=http://localhost/repository/upload/index.html 2004-10-04 09:22:20 RequestDumperValve[Catalina]: header=accept-language=en-gb 2004-10-04 09:22:20 RequestDumperValve[Catalina]: header=content-type=multipart/form-data; boundary=---------------------------7d4115142050a 2004-10-04 09:22:20 RequestDumperValve[Catalina]: header=accept-encoding=gzip, deflate 2004-10-04 09:22:20 RequestDumperValve[Catalina]: header=user-agent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; MathPlayer 2.0; .NET CLR 1.1.4322) 2004-10-04 09:22:20 RequestDumperValve[Catalina]: header=host=localhost 2004-10-04 09:22:20 RequestDumperValve[Catalina]: header=content-length=692 2004-10-04 09:22:20 RequestDumperValve[Catalina]: header=connection=Keep-Alive 2004-10-04 09:22:20 RequestDumperValve[Catalina]: header=cache-control=no-cache 2004-10-04 09:22:20 RequestDumperValve[Catalina]: header=cookie=JSESSIONID=01EAE058F0AEC86BC398EA7903822329 2004-10-04 09:22:20 RequestDumperValve[Catalina]: locale=en_GB 2004-10-04 09:22:20 RequestDumperValve[Catalina]: method=POST 2004-10-04 09:22:20 RequestDumperValve[Catalina]: pathInfo=null 2004-10-04 09:22:20 RequestDumperValve[Catalina]: protocol=HTTP/1.1 2004-10-04 09:22:20 RequestDumperValve[Catalina]: queryString=null 2004-10-04 09:22:20 RequestDumperValve[Catalina]: remoteAddr=127.0.0.1 2004-10-04 09:22:20 RequestDumperValve[Catalina]: remoteHost=127.0.0.1 2004-10-04 09:22:20 RequestDumperValve[Catalina]: remoteUser=null 2004-10-04 09:22:20 RequestDumperValve[Catalina]: requestedSessionId=01EAE058F0AEC86BC398EA7903822329 2004-10-04 09:22:20 RequestDumperValve[Catalina]: scheme=http 2004-10-04 09:22:20 RequestDumperValve[Catalina]: serverName=localhost 2004-10-04 09:22:20 RequestDumperValve[Catalina]: serverPort=80 2004-10-04 09:22:20 RequestDumperValve[Catalina]: servletPath=/getit 2004-10-04 09:22:20 RequestDumperValve[Catalina]: isSecure=false 2004-10-04 09:22:20 RequestDumperValve[Catalina]: --------------------------------------------------------------- 2004-10-04 09:22:20 RequestDumperValve[Catalina]: --------------------------------------------------------------- 2004-10-04 09:22:20 RequestDumperValve[Catalina]: authType=FORM 2004-10-04 09:22:20 RequestDumperValve[Catalina]: contentLength=-1 2004-10-04 09:22:20 RequestDumperValve[Catalina]: contentType=text/html 2004-10-04 09:22:20 RequestDumperValve[Catalina]: message=null 2004-10-04 09:22:20 RequestDumperValve[Catalina]: remoteUser=dpawson 2004-10-04 09:22:20 RequestDumperValve[Catalina]: status=200 2004-10-04 09:22:20 RequestDumperValve[Catalina]: =============================================================== -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]