<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE log4c SYSTEM "">

<log4c version="1.2.1">

  <!-- root category ========================================= -->
  <category name="root" priority="none"/>

  <!-- 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 ============ -->
  <category name="csync.api" priority="notice" appender="stderr"/>
  <category name="csync.config" priority="notice" appender="stderr"/>
  <category name="csync.statedb" priority="notice" appender="stderr"/>
  <category name="csync.lock" priority="notice" appender="stderr"/>
  <category name="csync.time" priority="notice" appender="stderr"/>
  <category name="csync.util" priority="notice" appender="stderr"/>
  <category name="csync.vio.main" priority="notice" appender="stderr"/>

  <!-- 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 ======================================= -->
  <layout name="basic" type="basic"/>
  <layout name="dated" type="dated"/>

  <!-- 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>
