myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin R. Gutch" <kgu...@protechemail.com>
Subject Re: Logging level
Date Wed, 01 Aug 2007 23:41:07 GMT
ok thanks. Will do

Martin Marinschek wrote:
> Hi Kevin,
>
> include a log4j.properties file in the root-directory of your class-tree.
>
> In include a sample log4j-file here - which will print only
> log-statements of a level error or higher.
>
> regards,
>
> Martin
>
> #for debugging log4j itself
> log4j.debug=false
>
> #Logger-Priorities:
> #DEBUG lowest, prints all messages
> #INFO  prints all messages with FATAL, ERROR, WARN or INFO priority
> #WARN  prints all messages with FATAL, ERROR or WARN priority
> #ERROR prints all messages with FATAL or ERROR priority
> #FATAL highest, prints only FATAL messages
>
> # root logger
> log4j.rootLogger=INFO, A1
> log4j.appender.A1=org.apache.log4j.ConsoleAppender
> log4j.appender.A1.layout=org.apache.log4j.PatternLayout
> log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
>
> # myfaces logger
> log4j.logger.org.apache.myfaces=ERROR
>
>
> On 8/2/07, Kevin R. Gutch <kgutch@protechemail.com> wrote:
>   
>> How is the logging level for MyFaces set? I only want to print "SEVERE"
>> not "WARNINGS" and "INFO".
>>
>> Thanks
>>
>> Kevin
>>
>>
>>     
>
>
>   

Mime
View raw message