-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Maes, Jeroen
authored and
Maes, Jeroen
committed
Jan 28, 2021
1 parent
cf87ad2
commit b6c5f55
Showing
10 changed files
with
27 additions
and
54 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
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 |
---|---|---|
@@ -1,38 +1,36 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<configSections> | ||
<section name="log4net" | ||
type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> | ||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/> | ||
</configSections> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/> | ||
</startup> | ||
<log4net> | ||
<root> | ||
<level value="ALL" /> | ||
<appender-ref ref="myMicrosoftTeamsAppender" /> | ||
<appender-ref ref="ColoredConsoleAppender" /> | ||
<level value="ALL"/> | ||
<appender-ref ref="myMicrosoftTeamsAppender"/> | ||
<appender-ref ref="ColoredConsoleAppender"/> | ||
</root> | ||
<appender name="ColoredConsoleAppender" | ||
type="log4net.Appender.ColoredConsoleAppender"> | ||
<appender name="ColoredConsoleAppender" type="log4net.Appender.ColoredConsoleAppender"> | ||
<mapping> | ||
<level value="ERROR" /> | ||
<foreColor value="White" /> | ||
<backColor value="Red, HighIntensity" /> | ||
<level value="ERROR"/> | ||
<foreColor value="White"/> | ||
<backColor value="Red, HighIntensity"/> | ||
</mapping> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%date [%thread] %-5level %logger - %message%newline" /> | ||
<conversionPattern value="%date [%thread] %-5level %logger - %message%newline"/> | ||
</layout> | ||
</appender> | ||
<appender name="myMicrosoftTeamsAppender" type="log4net.MicrosoftTeams.MicrosoftTeamsAppender, log4net.MicrosoftTeams"> | ||
<WebhookUrl value="" /> | ||
<WebhookUrl value=""/> | ||
<!-- Your MicrosoftTeams channel to post to --> | ||
<titleLayout> | ||
<conversionPattern value="Title - %p: %date [%c]" /> | ||
<conversionPattern value="Title - %p: %date [%c]"/> | ||
</titleLayout> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%-5level %logger - %message" /> | ||
<conversionPattern value="%-5level %logger - %message"/> | ||
</layout> | ||
</appender> | ||
</log4net> | ||
</configuration> | ||
</configuration> |
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