mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-29 23:12:39 +01:00
Added Config Transformation Tool
This commit is contained in:
parent
58788f7e0e
commit
2e02475991
BIN
Libraries/CTT/ctt.exe
Normal file
BIN
Libraries/CTT/ctt.exe
Normal file
Binary file not shown.
53
Libraries/CTT/ctt.exe.config
Normal file
53
Libraries/CTT/ctt.exe.config
Normal file
@ -0,0 +1,53 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<configuration>
|
||||
|
||||
<configSections>
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, ctt" />
|
||||
</configSections>
|
||||
|
||||
<log4net>
|
||||
<!-- contexts:
|
||||
-->
|
||||
<!-- Setup the root category, add the appenders and set the default priority
|
||||
Off, Fatal, Error, Warn, Info, Debug, All.-->
|
||||
<root>
|
||||
<level value="All" />
|
||||
<appender-ref ref="RollingFileAppender" />
|
||||
<appender-ref ref="TraceAppender" />
|
||||
<appender-ref ref="ConsoleAppender" />
|
||||
</root>
|
||||
|
||||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<param name="ConversionPattern" value="%message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
|
||||
<param name="File" value="logs\\ConfigTransformationTool.log" />
|
||||
<param name="AppendToFile" value="true" />
|
||||
<param name="RollingStyle" value="Size" />
|
||||
<param name="MaxSizeRollBackups" value="10" />
|
||||
<param name="MaximumFileSize" value="1MB" />
|
||||
<param name="StaticLogFileName" value="true" />
|
||||
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<header value="[Application Starts] " />
|
||||
<footer value="[Application Stops] " />
|
||||
<param name="ConversionPattern" value="%date{yyyy-MM-dd HH:mm:ss} %message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<appender name="TraceAppender" type="log4net.Appender.TraceAppender">
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<param name="ConversionPattern" value="%message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
</log4net>
|
||||
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
|
||||
</startup>
|
||||
</configuration>
|
Loading…
Reference in New Issue
Block a user