You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kris Barnhoorn <kr...@biassweb.be> on 2004/09/02 12:01:51 UTC

lot of logging statements when upgrading from 4.1.29 to 5.0.27

Hi,
 
 
When use the default server.xml provided with the installation i simply
get some INFO logging which i think are normal.
 
But from the moment i add host configuration like the one below, it
seems like all the logging levels of all classes are active? (eg lot of
[DEBUG] Digister or BeanUtils etc)
 
<Host
   name="www.foo.com" debug="0" appBase="/home/foo"
   deployXML="false" liveDeploy="false" unpackWARs="false"
   autoDeploy="false">
        <Context path="" docBase="www" debug="0" swallowOutput="true"/>
        <Logger className="org.apache.catalina.logger.FileLogger"
                directory="/home/foo/logs"
                prefix="v3." suffix=".txt"
                timestamp="true"/>
        <Context path="/manager"
                docBase="/usr/local/tomcat/server/webapps/manager"
                debug="0" privileged="true"/>
</Host>
 
 
I might add that log4j is used in the context and has a valid
configuration file in the classes dir
/home/foo/www/WEB-INF/lib/log4j-x-x.jar
/home/foo/www/WEB-INF/classes
 
 
is this normal behaviour? 
 
 
Kind regards.
Kris.
 
 
  
 

RE: lot of logging statements when upgrading from 4.1.29 to 5.0.27

Posted by Kris Barnhoorn <kr...@biassweb.be>.
Thank you for responding but...

I'm 100% sure that's not the case.
All log4j.properties are in the /WEB-INF/classes dir of the web-app
and they deal only with wep-app custom classes not BeanUtils or
Digister. 

Kris.
-----Oorspronkelijk bericht-----
Van: QM [mailto:qm300@brandxdev.net] 
Verzonden: donderdag 2 september 2004 14:57
Aan: Tomcat Users List
Onderwerp: Re: lot of logging statements when upgrading from 4.1.29 to
5.0.27

On Thu, Sep 02, 2004 at 12:01:51PM +0200, Kris Barnhoorn wrote:
: But from the moment i add host configuration like the one below, it
: seems like all the logging levels of all classes are active? (eg lot
of
: [DEBUG] Digister or BeanUtils etc)

Perhaps a rogue log4j config in one of a context classpath?

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



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


Re: lot of logging statements when upgrading from 4.1.29 to 5.0.27

Posted by QM <qm...@brandxdev.net>.
On Thu, Sep 02, 2004 at 12:01:51PM +0200, Kris Barnhoorn wrote:
: But from the moment i add host configuration like the one below, it
: seems like all the logging levels of all classes are active? (eg lot of
: [DEBUG] Digister or BeanUtils etc)

Perhaps a rogue log4j config in one of a context classpath?

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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