<log4net>
    <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
        <layout type="log4net.Layout.PatternLayout">
            <conversionPattern value="%date %-5level %logger - %message%newline" />
        </layout>
    </appender>

    <appender name="RollingAppender" type="log4net.Appender.RollingFileAppender">
        <file type="log4net.Util.PatternString" value="../../../../logs/ttsplug.%property{Name}.log.txt" />
        <appendToFile value="true" />
        <rollingStyle value="Size" />
        <maxSizeRollBackups value="0" />
        <maximumFileSize value="10MB" />
        <staticLogFileName value="true" />
        <layout type="log4net.Layout.PatternLayout">
            <conversionPattern value="%date %-5level %logger - %message%newline" />
        </layout>
    </appender>

    <root>
        <level value="INFO" /> 
        <appender-ref ref="RollingAppender" />
    </root>

</log4net>
