log4crc.xml 686 B

1234567891011121314151617181920
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE log4c SYSTEM "">
  3. <log4c version="1.2.1">
  4. <config>
  5. <bufsize>0</bufsize>
  6. <debug level="2"/>
  7. <nocleanup>0</nocleanup>
  8. <reread>1</reread>
  9. </config>
  10. <category name="root" priority="unknown" appender="aname"/>
  11. <rollingpolicy name="a_policy_name" type="sizewin" maxsize="10485760" maxnum="100" />
  12. <appender name="aname" type="rollingfile" logdir="./log" prefix="log" ext="txt" layout="dated_threadid" rollingpolicy="a_policy_name" />
  13. <appender name="stdout" type="stream" layout="dated_threadid"/>
  14. <appender name="stderr" type="stream" layout="dated"/>
  15. <appender name="syslog" type="syslog" layout="basic"/>
  16. </log4c>