ot.littleproxy.1.0.0-beta4.source-code.log4j.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of littleproxy Show documentation
Show all versions of littleproxy Show documentation
LittleProxy is a high performance HTTP proxy written in Java and using the Netty networking framework.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> <appender class="org.apache.log4j.RollingFileAppender" name="RollingTextFile"> <param value="false" name="Append"/> <param value="log.txt" name="File"/> <param value="5" name="MaxBackupIndex"/> <param value="50MB" name="MaxFileSize"/> <layout class="org.apache.log4j.PatternLayout"/> </appender> <appender class="org.apache.log4j.ConsoleAppender" name="stdout"> <layout class="org.apache.log4j.PatternLayout"> <param value="%-6r %d{ISO8601} %-5p [%t] %c{2}.%M (%F:%L) - %m%n" name="ConversionPattern"/> </layout> </appender> <appender class="org.apache.log4j.FileAppender" name="TextFile"> <param value="false" name="Append"/> <param value="log.txt" name="File"/> <layout class="org.apache.log4j.PatternLayout"> <param value="%-6r %d{ISO8601} %-5p [%t] %c{2}.%M (%F:%L) - %m%n" name="ConversionPattern"/> </layout> </appender> <appender name="ASYNC" class="org.apache.log4j.AsyncAppender"> <param name="BufferSize" value="500"/> <appender-ref ref="RollingTextFile"/> <appender-ref ref="stdout"/> </appender> <logger name="org.apache.http"> <level value="off"/> </logger> <logger name="org.apache.http.wire"> <level value="off"/> </logger> <logger name="org.littleshoot.proxy"> <level value="warn"/> </logger> <logger name="org.littleshoot.proxy.Launcher"> <level value="info"/> </logger> <root> <level value="warn"/> <appender-ref ref="ASYNC"/> </root> </log4j:configuration>