-
Notifications
You must be signed in to change notification settings - Fork 0
/
AlexanderDevelopment.CrmDeploymentWizard.exe.config
51 lines (51 loc) · 2.12 KB
/
AlexanderDevelopment.CrmDeploymentWizard.exe.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
</configSections>
<log4net>
<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
<param name="File" value="CrmDeploymentWizard.log" />
<param name="AppendToFile" value="true" />
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="%d %m%n" />
</layout>
<filter type="log4net.Filter.StringMatchFilter">
<param name="AcceptOnMatch" value="false" />
<stringToMatch value="RECORD ERROR" />
</filter>
</appender>
<appender name="RecordErrorFileAppender" type="log4net.Appender.FileAppender">
<param name="File" value="CrmDeploymentWizard-Error.log" />
<param name="AppendToFile" value="true" />
<layout type="log4net.Layout.PatternLayout">
<header value="[BEGIN JOB AT %date]%newline" type="log4net.Util.PatternString" />
<footer value="[END JOB AT %date]%newline" type="log4net.Util.PatternString" />
<conversionPattern value="%d %m%n" />
<!--<param name="ConversionPattern" value="%d %m%n" />-->
</layout>
<filter type="log4net.Filter.StringMatchFilter">
<stringToMatch value="RECORD ERROR" />
</filter>
<filter type="log4net.Filter.DenyAllFilter" />
</appender>
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="%d %m%n" />
</layout>
<filter type="log4net.Filter.StringMatchFilter">
<param name="AcceptOnMatch" value="false" />
<stringToMatch value="RECORD ERROR" />
</filter>
</appender>
<root>
<level value="INFO" />
<appender-ref ref="LogFileAppender" />
<appender-ref ref="ConsoleAppender" />
<appender-ref ref="RecordErrorFileAppender" />
</root>
</log4net>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
</configuration>