Created
August 3, 2016 02:59
-
-
Save rimms/980f47f3cace567712c504eff28a9b91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> | |
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" > | |
<appender name="stdout" class="org.apache.log4j.ConsoleAppender"> | |
<param name="Target" value="System.out" /> | |
<layout class="org.apache.log4j.PatternLayout"> | |
<param name="ConversionPattern" value="%d %X{tid} %-5p [%F:%L] %m%n" /> | |
</layout> | |
</appender> | |
<appender name="file" class="org.apache.log4j.FileAppender"> | |
<param name="File" value="${JUBATUS_PROCESS}.${JUBATUS_HOST}_${JUBATUS_PORT}.jubatus.log.${JUBATUS_PID}" /> | |
<param name="Append" value="true" /> | |
<layout class="org.apache.log4j.PatternLayout"> | |
<param name="ConversionPattern" value="%d %X{tid} %-5p [%F:%L] %m%n" /> | |
</layout> | |
</appender> | |
<root> | |
<priority value="debug" /> | |
<appender-ref ref="stdout" /> | |
<appender-ref ref="file" /> | |
</root> | |
</log4j:configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment