<log4net>
  <appender name="console" type="log4net.Appender.ConsoleAppender" >
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="%d [%t] %-5p %c:%M(%L) - %m%n" />
    </layout>
  </appender>

  <appender name="filelog" type="log4net.Appender.FileAppender">
    <file value="qpid_client.log"/>
    <appendToFile value="false"/>
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="%d [%t] %-5p %c:%M(%L) - %m%n" />
    </layout>
  </appender>

  <appender name="protocolLog" type="log4net.Appender.FileAppender">
    <file value="protocol.log"/>
    <appendToFile value="false"/>
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="%date - %message%newline"/>
    </layout>
  </appender>

  <appender name="ioLog" type="log4net.Appender.FileAppender">
    <file value="io.log"/>
    <appendToFile value="false"/>
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="%date - %message%newline"/>
    </layout>
  </appender>

  <logger name="Qpid.Client.ProtocolChannel.Tracing" additivity="false">
    <level value="info"/>
    <appender-ref ref="protocolLog"/>
  </logger>

  <logger name="Qpid.Client.ByteChannel.Tracing" additivity="false">
    <level value="info" />
    <appender-ref ref="ioLog"/>
  </logger>
  
  <root>
    <level value="info"/>
    <appender-ref ref="console"/>
	  <appender-ref ref="filelog"/>
  </root>
</log4net>