myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joost Schouten" <jo...@jsportal.com>
Subject RE: unable to turn off log messages...
Date Tue, 01 May 2007 08:49:51 GMT
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:jv@3eyegroup.com] 
Sent: Tuesday, May 01, 2007 4:25 AM
To: users@myfaces.apache.org
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  



Mime
View raw message