Created
May 9, 2017 10:56
-
-
Save juanrubio/a0e7a07ccff2f38a01651f181a516f9d to your computer and use it in GitHub Desktop.
Simple .log4crc to output to stdout
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="ISO-8859-1"?> | |
<!DOCTYPE log4c SYSTEM ""> | |
<log4c version="1.2.1"> | |
<config> | |
<bufsize>0</bufsize> | |
<debug level="2"/> | |
<nocleanup>0</nocleanup> | |
<reread>1</reread> | |
</config> | |
<category name="root" priority="error" appender="stdout"/> | |
<layout name="basic" type="basic"/> | |
<layout name="dated" type="dated"/> | |
<layout name="tiz" type="tiz_layout"/> | |
<appender name="stdout" type="stream" layout="tiz"/> | |
<appender name="stderr" type="stream" layout="dated"/> | |
<appender name="syslog" type="syslog" layout="dated"/> | |
<rollingpolicy name="tizrolling" type="sizewin" maxsize="100000000" maxnum="1" /> | |
<appender name="tizlogfile" type="rollingfile" logdir="/home/joni/temp" prefix="tizonia.log" layout="tiz" rollingpolicy="tizrolling" /> | |
</log4c> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment