I see that your logging output format does *not* contain the category string. Add [%c] to get this displayed.

I would guess that this message is actually coming from the facelets library, and has a category of something like com.sun.facelets (or whatever the facelets namespace is) but you are only suppressing info messages for the org.apache.myfaces category.

Regards,

Simon

Joost Schouten wrote:
Jorge,

Even though this probably is a log4j question, how did you configure it and
please mail your configuration file?

My /web-inf/classes/log4j.properties file as shown below properly blocks any
log messages less then warn for org.apache.myfaces.

Regards,
Joost Schouten

[1]: my /web-inf/classes/log4j.properties file
---------------------
log4j.logger.com.jsportal=debug,R
log4j.logger.org.hibernate=warn,R
log4j.logger.org.apache.commons=warn,R
log4j.logger.org.apache.myfaces=warn,R
log4j.logger.org.apache.shale.clay=warn,R
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=C:/pathToMyLogDir/mainLog.log
log4j.appender.R.MaxFileSize=10MB
log4j.appender.R.MaxBackupIndex=10
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%-5p %-10d{dd MMM yyyy
HH:mm:ss,SSS} [%t] %l - %m%n

________________________________________
From: Jorge Vásquez [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 01, 2007 4:25 AM
To: [email protected]
Subject: unable to turn off log messages...

Regards,
I am having some problems with log messages in myfaces that I don’t know how
to stop making them appear.  I use log4J to control my log messages and even
when I configure it to stop getting all logger output messages I keep
getting the following:

ADVERTENCIA: /pages/logon.xhtml @105,53 forceId="true" Property 'forceId' is
not on type: org.apache.myfaces.component.html.ext.HtmlInputText
29-abr-2007 17:26:19 com.sun.facelets.tag.jsf.ComponentRule warnAttr
ADVERTENCIA: /pages/logon.xhtml @132,60 forceId="true" Property 'forceId' is
not on type: org.apache.myfaces.component.html.ext.HtmlInputText
29-abr-2007 17:26:19 com.sun.facelets.tag.jsf.ComponentRule warnAttr
ADVERTENCIA: /pages/logon.xhtml @144,57 forceId="true" Property 'forceId' is
not on type: org.apache.myfaces.component.html.ext.HtmlInputText
29-abr-2007 17:26:42 com.sun.facelets.tag.jsf.ComponentRule warnAttr
ADVERTENCIA: /pages/templates/searchFieldsTemplate.xhtml @132,120
forceId="true" Property 'forceId' is not on type:
org.apache.myfaces.component.html.ext.HtmlCommandLink


Does anybody has any advice to stop getting these logger messages which are
also unnecessary since I am using the tomahawk input text which has a
forceId attribute?
Thanks,
JV


Reply via email to