You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by AMIR-TAHMASSEB Marc Kamran <ma...@ombudsman.europa.eu> on 2011/03/01 13:32:50 UTC
RE: How to turn off the info for bean instance creations on System.out
Just to confirm that a simple
log4j.logger.org.apache.myfaces.config.annotation=WARN
was enough to solve the problem :-)
Thanks
Marc
>-----Original Message-----
>From: AMIR-TAHMASSEB Marc Kamran
>Sent: 28 February 2011 17:38
>To: 'MyFaces Discussion'
>Subject: RE: How to turn off the info for bean instance
>creations on System.out
>
>Dear Richard,
>
>Thanks for your response.
>I am using log4j.
>I will modify my log4j.properties tomorrow.
>
>Marc
>
>>-----Original Message-----
>>From: Richard Yee [mailto:richard.k.yee@gmail.com]
>>Sent: 28 February 2011 16:46
>>To: MyFaces Discussion
>>Subject: Re: How to turn off the info for bean instance creations on
>>System.out
>>
>>Marc,
>>What logging framework are you using? Just set the logging
>level higher
>>for the org.apache.myfaces.config.annotation package
>>
>>Richard
>>
>>Sent from my iPhone
>>
>>On Feb 28, 2011, at 7:13 AM, "AMIR-TAHMASSEB Marc Kamran"
>><ma...@ombudsman.europa.eu> wrote:
>>
>>> Tobias,
>>>
>>> I have the same problem than you and I want to turn off
>>these logs in production. Did you find an easy config ?
>>>
>>> thanks ,
>>>
>>> Marc Amir-Tahmasseb
>>>
>>> ________________________________
>>>
>>> Matthias,
>>>
>>> Thank you for your link. I can see now how it creates the
>>log statements. Can you explain how to turn it off?
>>>
>>> Toby
>>>
>>> -----Ursprüngliche Nachricht----- Von: mwes...@gmail.com
>>> [mailto:mwes...@gmail.com] Im Auftrag von Matthias Wessendorf
>>> Gesendet: Freitag, 19. Februar 2010 14:57 An: MyFaces Discussion
>>> Betreff: Re: How to turn off the info for bean instance
>creations on
>>> System.out
>>>
>>>
>>>
>>http://svn.apache.org/repos/asf/myfaces/core/tags/1_2_8/impl/src/main/
>>> java
>>>
>>/org/apache/myfaces/config/annotation/TomcatAnnotationLifecycleProvide
>>> r.ja va
>>>
>>> it is the logger, not syso
>>>
>>> -M
>>>
>>> On Fri, Feb 19, 2010 at 2:41 PM, Eisenträger, Tobias
>><To...@arag.de> wrote:
>>>
>>> Hello Group,
>>>
>>> Can anyone tell me what the parameter is to turn off the
>>info for bean instance creations on the System.out? like these:
>>>
>>> Feb 19, 2010 2:37:24 PM
>>>
>>>
>>>
>>org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider
>>> newInstance
>>>
>>> INFO: Creating instance of package.subpackage.NewClassName
>>>
>>> Would like to turn it off on the production server.
>>>
>>> Thanks,
>>>
>>> Tobias Eisenträger
>>>
>>> Softwareentwickler
>>>
>>> Dokumentenmanagement/Workflow/Internet, AKB 8125
>>>
>>> ARAG IT GmbH ARAG Platz 1, 40472 Düsseldorf
>>>
>>> Tel.: +49 (0)211 964-1937
>>>
>>> tobi...@arag.de www.ARAG.de
>>>
>>> Aufsichtsratsvorsitzender:
>>>
>>> Gerd Peskes
>>>
>>> Vorstand:
>>>
>>> Dr. Paul-Otto Faßbender (Vors.),
>>>
>>> Dr. Jan-Peter Horst,
>>>
>>> Dr. Johannes Kathan, Werner Nicoll,
>>>
>>> Hanno Petersen, Dr. Joerg Schwarze
>>>
>>> Sitz und Registergericht:
>>>
>>> Düsseldorf, HRB 1371
>>>
>>> USt-ID-Nr.: DE 119 355 995
>>>
>>> -- Matthias Wessendorf
>>>
>>> blog: http://matthiaswessendorf.wordpress.com/ sessions:
>>> http://www.slideshare.net/mwessendorf twitter:
>>> http://twitter.com/mwessendorf
>>>
>>