Skip to content

Instantly share code, notes, and snippets.

@naveensky
Created January 11, 2016 23:23
Show Gist options
  • Save naveensky/6de9b3ee137b60d93b4c to your computer and use it in GitHub Desktop.
Save naveensky/6de9b3ee137b60d93b4c to your computer and use it in GitHub Desktop.
papertrail-config.xml
<appender name="papertrail" class="com.papertrailapp.logback.Syslog4jAppender">
<layout class="ch.qos.logback.classic.PatternLayout">
<pattern>%-5level %logger{35}: %m%n%xEx</pattern>
</layout>
<syslogConfig class="org.productivity.java.syslog4j.impl.net.tcp.ssl.SSLTCPNetSyslogConfig">
<host>----removed----</host>
<port>----removed----</port>
<ident>medharbour-website-beta</ident>
</syslogConfig>
</appender>
<root level="info">
<appender-ref ref="papertrail"/>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment