log4j - RollingFileAppender to create a log file -
following log4j.xml file, trying use rollingfileappender create file rolled on over daily basis.
i have necessary jar files in lib folder , using tomcat 7.0 run application when server starts gives following message.
log4j:warn continuable parsing error 13 , column 13 log4j:warn content of element type "appender" must match "(errorhandler?,param*,rollingpolicy?,triggeringpolicy?,connectionsource?,layout?,filter*,appender-ref*)".
any idea wrong following code?
-
<logger name="com.vzw.issi.logger.util.alertmanager" additivity="false"> <level value="error"/> <appender-ref ref="email"/> </logger> <!-- rules logging debug < info < warn < error < fatal --> <root> <priority value="info"/> <!-- <priority value="sys_data" class="com.vzw.issi.logger.util.systemdataloggerlevel" /> --> <appender-ref ref="velitelog"/> <appender-ref ref="stdout"/> </root>
Comments
Post a Comment