tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: catalina.out file is growing very rapidly! How to prevent Hibernate's INFO and DEBUG statements from getting added to catalina.out file?
Date Fri, 20 Apr 2012 14:07:47 GMT
2012/4/20 Pid <pid@pidster.com>:
> On 20/04/2012 00:43, Dilip Shah wrote:
>> Hi Konstantin,
>>
>> According to http://www.mulesoft.com/tomcat-logging , to make sure my
>> Log4j configuration is complete, I should have tomcat-juli.jar and
>> tomcat-juli-adapters.jar files in $CATALINA_HOME/bin/
>> whereas, I have just the default tomcat-juli.jar that comes with Tomcat.
>
> This is only if you are using log4j for *Tomcat's* own logging, as
> opposed to your *application's* logging.
>
>
>> I tried to get hold of these files from Tomcat download site's
>> bin/extras for version 5.5.28 but I don't see any 'extras' folder /
>> compressed file.
>> Do you think this could be a problem and if so, would you know where I
>> can get hold of these 2 jar files?
>
> This is not relevant.  Ignore it.
>

1. The page says little more that official Logging documentation in Tomcat.

2. The page does not mention it, but most of what is written there is
applicable to Tomcat 6 and later. That is why there is no "extras" in
5.5.

Tomcat 5.5 uses Apache Commons Logging library "as is"

Tomcat 6 uses its own build of that library, renamed into different
package to minimize interference with webapps. There are several
variants of that library - one is provided in "extras".

Tomcat 5.5 reaches EOL in several months, so we wouldn't need to care
about the difference soon. I'm already starting to forget things.


> You need to put log4j.properties file in yourapp/WEB-INF/classes, with
> the appropriate logging config.
>

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message