HI, I installed log4j1.3 for my tomcat 5.0 and able to run it. However I am getting very large amount of logs at the start of tomcat for my application.. It seems some error but I dont know what it is? below is my appender config and the sample of generated logs. please help me in this. Regards, XML config: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> <appender name="R" class="org.apache.log4j.RollingFileAppender"> <param name="File" value="C:\\C-WEB\Tomcat 5.0\logs\test.log"/> <param name="Append" value="true"/> <param name="MaxFileSize" value="3000KB"/> <param name="MaxBackupIndex" value="5"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="[%d %-5p] [%t] [%C\{2\} (%F:%L) - %m%n]"/> </layout> </appender> <appender name="Chainsaw1" class="org.apache.log4j.net.SocketAppender"> <param name="RemoteHost" value="localhost"/> <param name="Port" value="4445"/> <param name="LocationInfo" value="true"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="[%d %-5p] [%t] [%C\{2\} (%F:%L) - %m%n]"/> </layout> </appender> <root> <priority value="debug"/> <appender-ref ref="R"/> <appender-ref ref="Chainsaw1"/> </root> </log4j:configuration>
Sample of generated Logs: (This type of logs are in very large amount) [2007-06-24 00:13:36,531 DEBUG] [main] [beanutils.PropertyUtilsBean (PropertyUtilsBean.java:1756) - setSimpleProperty: Invoking method public void org.apache.commons.validator.ValidatorAction.setDepends(java.lang.String) with value (class java.lang.String) ][2007-06-24 00:13:36,531 DEBUG] [main] [beanutils.BeanUtilsBean (BeanUtilsBean.java:876) - setProperty(ValidatorAction: email , method, validateEmail) ][2007-06-24 00:13:36,531 DEBUG] [main] [beanutils.ConvertUtilsBean (ConvertUtilsBean.java:418) - Convert string 'validateEmail' to class 'java.lang.String' ][2007-06-24 00:13:36,531 DEBUG] [main] [beanutils.ConvertUtilsBean (ConvertUtilsBean.java:426) - Using converter [EMAIL PROTECTED] ][2007-06-24 00:13:36,531 DEBUG] [main] [beanutils.PropertyUtilsBean (PropertyUtilsBean.java:1756) - setSimpleProperty: Invoking method public void org.apache.commons.validator.ValidatorAction.setMethod(java.lang.String) with value validateEmail (class java.lang.String) ][2007-06-24 00:13:36,531 DEBUG] [main] [digester.Digester (Digester.java:1284) - Fire begin() for SetNextRule[methodName=addValidatorAction, paramType=org.apache.commons.validator.ValidatorAction] ][2007-06-24 00:13:36,531 DEBUG] [main] [digester.Digester (Digester.java:1009) - endElement(,validator,validator) ][2007-06-24 00:13:36,531 DEBUG] [main] [digester.Digester (Digester.java:1012) - match='form-validation/global/validator' ][2007-06-24 00:13:36,531 DEBUG] [main] [digester.Digester (Digester.java:1013) - bodyText='' ][2007-06-24 00:13:36,531 DEBUG] [main] [digester.Digester (Digester.java:1035) - Fire body() for ObjectCreateRule[className=org.apache.commons.validator.ValidatorAction, attributeName=null] --------------------------------- It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar.