PowerToys/Wox/App.config

33 lines
1.3 KiB
Plaintext
Raw Normal View History

2013-12-23 23:53:38 +08:00
<?xml version="1.0"?>
2013-12-23 19:21:51 +08:00
<configuration>
<configSections>
<section name="log4net" type="System.Configuration.IgnoreSectionHandler"/>
</configSections>
<log4net>
<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
2014-12-29 21:55:27 +08:00
<file type="log4net.Util.PatternString">
<converter>
2015-01-15 20:47:48 +08:00
<name value="WoxLogPathConverter"/>
<type value="Wox.Helper.WoxLogPathConverter,Wox"/>
2014-12-29 21:55:27 +08:00
</converter>
2015-01-15 20:47:48 +08:00
<conversionPattern value="%WoxLogPathConverter{log}\\log.txt"/>
2014-12-29 21:55:27 +08:00
</file>
2013-12-23 23:53:38 +08:00
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyyMMdd-HH:mm:ss"/>
2013-12-23 19:21:51 +08:00
<layout type="log4net.Layout.PatternLayout">
2013-12-23 23:53:38 +08:00
<conversionPattern value="Date%date Level%-5level Msg%message%newline"/>
2013-12-23 19:21:51 +08:00
</layout>
</appender>
<root>
2014-03-23 17:43:46 +08:00
<!-- ALL < DEBUG < INFO < WARN < ERROR < FATAL < OFF-->
2015-01-15 20:47:48 +08:00
<level value="WARN"/>
2013-12-23 23:53:38 +08:00
<appender-ref ref="LogFileAppender"/>
2013-12-23 19:21:51 +08:00
</root>
</log4net>
2014-07-18 20:00:55 +08:00
<runtime>
<!--http://stackoverflow.com/questions/186854/how-to-prevent-an-exception-in-a-background-thread-from-terminating-an-applicati-->
2015-01-15 20:47:48 +08:00
<legacyUnhandledExceptionPolicy enabled="1"/>
2014-07-18 20:00:55 +08:00
</runtime>
2015-01-15 20:47:48 +08:00
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>