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 <[EMAIL PROTECTED]> wrote:
> How is the logging level for MyFaces set? I only want to print "SEVERE"
> not "WARNINGS" and "INFO".
>
> Thanks
>
> Kevin
>
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to