In src/main/resources/log4j.xml. I'm using Maven 3 and Java 6 on OS X.

Richard Yee-3 wrote:
> 
> What file are you putting the settings in?
> R
> 
> Sent from my iPhone
> 
> On Mar 11, 2011, at 2:44 PM, mraible <m...@raibledesigns.com> wrote:
> 
>> 
>> If I add the following:
>> 
>>    <!-- Suppress invalid warning messages from JSF -->
>>    <logger name="org.apache.myfaces">
>>        <level value="ERROR"/>
>>    </logger>
>> 
>> I still get messages like the following:
>> 
>> FileUpload:
>> [WARNING] [talledLocalContainer] Mar 11, 2011 3:41:47 PM
>> org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider
>> newInstance
>> [WARNING] [talledLocalContainer] INFO: Creating instance of
>> org.appfuse.webapp.action.BasePage
>> [WARNING] [talledLocalContainer] Mar 11, 2011 3:41:47 PM
>> org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider
>> destroyInstance
>> [WARNING] [talledLocalContainer] INFO: Destroy instance of
>> org.appfuse.webapp.action.BasePage
>> [WARNING] [talledLocalContainer] Mar 11, 2011 3:41:47 PM
>> org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider
>> destroyInstance
>> [WARNING] [talledLocalContainer] INFO: Destroy instance of
>> org.ajax4jsf.framework.ajax.AjaxContext
>> [WARNING] [talledLocalContainer] Mar 11, 2011 3:41:48 PM
>> org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider
>> newInstance
>> [WARNING] [talledLocalContainer] INFO: Creating instance of
>> org.appfuse.webapp.action.BasePage
>> [WARNING] [talledLocalContainer] Mar 11, 2011 3:41:48 PM
>> org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider
>> newInstance
>> 
>> 
>> Jakob Korherr wrote:
>>> 
>>> Hi,
>>> 
>>> Configure your logger to remove messages from org.apache.myfaces.*
>>> packages.
>>> 
>>> E.g. for log4j: log4j.logger.org.apache.myfaces=OFF
>>> 
>>> Regards,
>>> Jakob
>>> 
>>> 2011/3/4 mraible <m...@raibledesigns.com>:
>>>> 
>>>> What's the best way to turn down logging in MyFaces 2.0.4. There's a
>>>> lot
>>>> of
>>>> warning messages that don't seem relevant.
>>>> 
>>>> Thanks,
>>>> 
>>>> Matt
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Turn-down-logging-in-2.0.4--tp31068698p31068698.html
>>>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> Jakob Korherr
>>> 
>>> blog: http://www.jakobk.com
>>> twitter: http://twitter.com/jakobkorherr
>>> work: http://www.irian.at
>>> 
>>> 
>> 
>> -- 
>> View this message in context:
>> http://old.nabble.com/Turn-down-logging-in-2.0.4--tp31068698p31129525.html
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Turn-down-logging-in-2.0.4--tp31068698p31140902.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to