You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Florian Reisinger <fl...@ebi.ac.uk> on 2008/06/12 18:22:09 UTC

stop logging from myfaces.trinidadinternal

Hi,

I am quite new to JSF and myfaces and already have some problems ;-)

My app produces some log statements (level WARN) from classes in org.apache.myfaces.trinidadinternal 
that I would like to get rid of (since they fill up my tomcat logs very quickly). I have read in the 
list archive that trinidad uses JDK logging, but that commons-logging can overwrite that with log4j 
(which I am using in my app). Therefore I added a commons-logging.properties file with the following 
line to my classpath:
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger

In my log4j.properties file I set the rootLogger level to ERROR:
   log4j.rootLogger=ERROR, A

I am using commons-logging 1.0.4, log4j 1.2.13, myfaces 1.2.3 and trinidad 1.2.7

But I still get the warning statements from trinidad.

Do I miss something in the logging configuration or do I have to specify anything else?

Any help is much appreciated!

Thanks,
Florian