Add some comments and move log4c config to the end.

This commit is contained in:
Andreas Schneider 2009-04-12 11:33:50 +02:00
parent 9650bccc2f
commit b54e952efe

View file

@ -3,22 +3,19 @@
<log4c version="1.2.1">
<config>
<bufsize>0</bufsize>
<debug level="0"/>
<nocleanup>0</nocleanup>
</config>
<!-- root category ========================================= -->
<category name="root" priority="none"/>
<!-- categories for more verbose logging output ============ -->
<!-- as a user you may be interested in the debug priority = -->
<!-- Categories for more verbose logging output ============ -->
<!--
** As a user you may be interested in the "debug" priority and
** use "file" as the appender.
-->
<category name="csync.updater" priority="notice" appender="stderr"/>
<category name="csync.reconciler" priority="notice" appender="stderr"/>
<category name="csync.propagator" priority="notice" appender="stderr"/>
<!-- categories debug logging output ============ -->
<!-- Categories debug logging output ============ -->
<category name="csync.api" priority="notice" appender="stderr"/>
<category name="csync.config" priority="notice" appender="stderr"/>
<category name="csync.statedb" priority="notice" appender="stderr"/>
@ -27,18 +24,26 @@
<category name="csync.util" priority="notice" appender="stderr"/>
<category name="csync.vio.main" priority="notice" appender="stderr"/>
<!-- default appenders ===================================== -->
<!-- Default appenders ===================================== -->
<appender name="stdout" type="stream" layout="basic"/>
<appender name="stderr" type="stream" layout="dated"/>
<appender name="syslog" type="syslog" layout="basic"/>
<appender name="file" type="rollingfile" logdir="." prefix="csync.log"
layout="dated" rollingpolicy="csync_rollingpolicy"/>
<!-- default layouts ======================================= -->
<!-- Default layouts ======================================= -->
<layout name="basic" type="basic"/>
<layout name="dated" type="dated"/>
<!-- default policies ===================================== -->
<!-- Default policies ===================================== -->
<rollingpolicy name="csync_rollingpolicy" type="sizewin" maxsize="1024000"
maxnum="100000" />
<!-- log4c config variables, don't touch them. -->
<config>
<bufsize>0</bufsize>
<debug level="0"/>
<nocleanup>0</nocleanup>
</config>
</log4c>