-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removing the temporary log location - #7
- Loading branch information
1 parent
f4bb6d3
commit 9250541
Showing
6 changed files
with
80 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,53 +24,6 @@ | |
</layout> | ||
</appender> | ||
|
||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<!--<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />--> | ||
<conversionPattern value="%message%newline"/> | ||
</layout> | ||
</appender> | ||
|
||
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> | ||
<file value="C:\Temp\RoundhousE\roundhouse.changes.log"/> | ||
<appendToFile value="false"/> | ||
<maxSizeRollBackups value="10"/> | ||
<maximumFileSize value="1MB"/> | ||
<rollingStyle value="Size"/> | ||
<staticLogFileName value="true"/> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<!--<header value="[Header] " />--> | ||
<!--<footer value="[Footer] " />--> | ||
<!--<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />--> | ||
<conversionPattern value="%date [%-5level] - %message%newline"/> | ||
</layout> | ||
</appender> | ||
|
||
<appender name="ErrorSmtpAppender" type="log4net.Appender.SmtpAppender"> | ||
<to value="[email protected]"/> | ||
<from value="[email protected]"/> | ||
<subject value="RoundhousE ERRORS - LOCAL DEBUG"/> | ||
<smtpHost value="localhost"/> | ||
<bufferSize value="2"/> | ||
<lossy value="true"/> | ||
<evaluator type="log4net.Core.LevelEvaluator"> | ||
<threshold value="ERROR"/> | ||
</evaluator> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%newline%date [%thread] %-5level %logger - %message%newline"/> | ||
<!--<conversionPattern value="%newline%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />--> | ||
</layout> | ||
</appender> | ||
|
||
<appender name="ErrorEventLogAppender" type="log4net.Appender.EventLogAppender"> | ||
<LogName value="Application"/> | ||
<ApplicationName value="RoundhousE"/> | ||
<threshold value="ERROR"/> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%date [%thread] %-5level %logger - %message%newline%newline"/> | ||
</layout> | ||
</appender> | ||
|
||
<root> | ||
<level value="INFO"/> | ||
<appender-ref ref="ColoredConsoleAppender"/> | ||
|
@@ -87,7 +40,6 @@ | |
|
||
<logger name="roundhouse"> | ||
<level value="INFO"/> | ||
<appender-ref ref="RollingLogFileAppender"/> | ||
</logger> | ||
|
||
</log4net> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters