ansible/test/integration/targets/win_xml/files/log4j.xml
Richard Levenberg c759381b0b win_xml module for manipulating XML files on Windows (#26404)
documentation fixups

handling backup in a more ansible canonical way

remove quotes from $dest

Handle elements with only text child nodes
2018-08-31 12:20:09 +10:00

49 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
<appender name="stdout" class="org.apache.log4j.ConsoleAppender" >
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{dd/MM/yy hh:mm:ss:sss z}] %5p %c{2}: %m%n"/>
</layout>
</appender>
<appender name="file" class="org.apache.log4j.DailyRollingFileAppender">
<param name="append" value="true" />
<param name="encoding" value="UTF-8" />
<param name="file" value="mylogfile.log" />
<param name="DatePattern" value="'.'yyyy-MM-dd" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%-25d{ISO8601}] %-5p %x %C{1} -- %m\n" />
</layout>
</appender>
<logger name="org.springframework.security.web.FilterChainProxy" additivity="false">
<level value="error"/>
<appender-ref ref="file" />
</logger>
<logger name="org.springframework.security.web.context.HttpSessionSecurityContextRepository" additivity="false">
<level value="error"/>
<appender-ref ref="file" />
</logger>
<logger name="org.springframework.security.web.context.SecurityContextPersistenceFilter" additivity="false">
<level value="error"/>
<appender-ref ref="file" />
</logger>
<logger name="org.springframework.security.web.access.intercept" additivity="false">
<level value="error"/>
<appender-ref ref="stdout" />
</logger>
<logger name="org.apache.commons.digester" additivity="false">
<level value="info"/>
<appender-ref ref="stdout" />
</logger>
<root>
<priority value="debug"/>
<appender-ref ref="stdout"/>
</root>
</log4j:configuration>