log4net.config

<?xml version="1.0" encoding="utf-8"?>
<log4net debug="false">
<appender name="GeneralLog" type="log4net.Appender.RollingFileAppender">
<file value="C:\KODIAK_LOGS\FIX\Trade\OrderEntryServer.log" />
<!--DONT LOG SAVEHEARTBEAT CALLS-->
<filter type="log4net.Filter.StringMatchFilter">
<stringToMatch value="SaveHeartbeat" />
<acceptOnMatch value="false" />
</filter>
<appendToFile value="true" />
<rollingStyle value="Composite" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d{HH:mm:ss.fff} [%t] %-5p %c - %m%n" />
</layout>
</appender>
<appender name="ErrorLog" type="log4net.Appender.RollingFileAppender">
<file value="C:\KODIAK_LOGS\FIX\Trade\Error.log" />
<threshold value="ERROR"/>
<appendToFile value="true" />
<rollingStyle value="Composite" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d{HH:mm:ss.fff} [%t] %-5p %c - %m%n" />
</layout>
</appender>


<appender name="FundsLog" type="log4net.Appender.RollingFileAppender">
<file value="C:\KODIAK_LOGS\FIX\Trade\Funds.log" />
<appendToFile value="true" />
<rollingStyle value="Composite" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d{HH:mm:ss.fff} [%t] %-5p %c - %m%n" />
</layout>
</appender>
<appender name="RequestLog" type="log4net.Appender.RollingFileAppender">
<file value="C:\KODIAK_LOGS\FIX\Trade\Requests.log" />
<appendToFile value="true" />
<rollingStyle value="Composite" />
<datePattern value="yyyyMMdd" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d{HH:mm:ss.fff} - %m%n" />
</layout>
</appender>
<root>
<level value="DEBUG" />
<appender-ref ref="GeneralLog" />
<appender-ref ref="ErrorLog" />
</root>
<logger name="RequestLogger" additivity="false">
<level value="DEBUG" />
<appender-ref ref="RequestLog" />
</logger>
<logger name="MethodLogger">
<level value="TRACE" />
</logger>
<logger name="AuthorizationLogger">
<level value="DEBUG" />
</logger>
<logger name="Kodi.Kodiak">
<level value="DEBUG" />
</logger>
<logger name="Kodi.Kodiak.Nms">
<level value="ERROR" />
</logger>
<logger name="Kodi.Kodiak.Fix">
<level value="DEBUG" />
</logger>
<logger name="Kodi.Kodiak.Services.ISB.FundCalculator">
<level value="TRACE" />
</logger>

<logger name="Kodi.Kodiak.DomainServices.Implementation.TradeProcessor">
<level value="DEBUG" />
</logger>
<logger name="Kodi.Kodiak.Services.ISB.Funds" additivity="false">
<level value="DEBUG" />
<appender-ref ref="FundsLog" />
</logger>
<logger name="NHibernate.SQL">
<level value="ERROR" />
</logger>
<logger name="NHibernate">
<level value="ERROR" />
</logger>
<logger name="Spring">
<level value="ERROR" />
</logger>
<logger name="NHibernate.Engine">
<level value="ERROR" />
</logger>
<!--
<logger name="HibernatingRhinos.Profiler.Appender.NHibernate.NHProfAppender.Setup">
<appender-ref ref="NHProfAppender"/>
</logger>
-->
</log4net>