You should have a log4j.properties file in your WEB-INF/classes (maybe
somewhere else).
Open the file, and you will see a bunch of lines like

log4j.logger.org.apache.myfaces=debug

The "debug" option gives the most messages (by far)
"info" gives less, and "error" even less (only errors)
Each application may be listed on a different line.
So try changing it until you see only the messages that you want.


-----Message d'origine-----
De : Ricardo Ramírez [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 9 juin 2006 18:28
À : MyFaces Discussion
Objet : How to disable logging?

I use OC4J (which in turn uses log4j), I get a lot of "INFO" and "WARNING"
messages from myfaces on startup, I do not wish to see them, how do I
disable the messagess (I'd like only to see the errors)?

Any ideas?

Reply via email to