Skip to content

Instantly share code, notes, and snippets.

@fushnisoft fushnisoft/clarion.exe.config Secret

Created Nov 5, 2013
What would you like to do?
log4net appender to send to fushnisoft papertrailapp account
<appender name="PapertrailRemoteSyslogAppender" type="log4net.Appender.RemoteSyslogAppender">
<facility value="Local6"/>
<identity value="%property{log4net:HostName}" />
<layout type="log4net.Layout.PatternLayout" value="%level %message%newline"/>
<remoteAddress value=""/>
<remotePort value="30710"/>
<appender name="FileAppender" type="log4net.Appender.FileAppender">
<file value="SharpDevelopLog.txt"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level- %message%newline"/>
<level value="DEBUG"/>
<appender-ref ref="PapertrailRemoteSyslogAppender"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.