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

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -