mirror of
https://github.com/greenshot/greenshot.git
synced 2025-01-09 07:13:02 -08:00
d3b792bb3e
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2448 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
28 lines
1.0 KiB
XML
28 lines
1.0 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<configuration>
|
|
<!-- See http://logging.apache.org/log4net/release/sdk/log4net.Layout.PatternLayout.html -->
|
|
<log4net>
|
|
<appender name="FileAppender" type="log4net.Appender.RollingFileAppender">
|
|
<file type="log4net.Util.PatternString">
|
|
<converter>
|
|
<name value="folder" />
|
|
<type value="GreenshotPlugin.Core.SpecialFolderPatternConverter" />
|
|
</converter>
|
|
<conversionPattern value="%folder{LocalApplicationData}\Greenshot\Greenshot.log" />
|
|
</file>
|
|
<encoding value="utf-8" />
|
|
<appendToFile value="true" />
|
|
<rollingStyle value="Size" />
|
|
<maxSizeRollBackups value="3" />
|
|
<maximumFileSize value="1MB" />
|
|
<staticLogFileName value="true" />
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
<conversionPattern value="%date{ISO8601} [%thread] %-5level - [%logger] %m%n%exception" />
|
|
</layout>
|
|
</appender>
|
|
<root>
|
|
<level value="INFO" />
|
|
<appender-ref ref="FileAppender" />
|
|
</root>
|
|
</log4net>
|
|
</configuration> |