logback appender sending log entries to slack via webhooks api
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
pom.xml

README.md

Logback Slack Appender

writes log output to Slack channel utilising the Webhooks API

required parameters are:
level - threshold level for outout
pattern - logback pattern layout
endpoint - Slack generated webhooks endpoint

Example configuration:

<appender name="SLACK" class="org.dexr.logging.LogbackSlackAppender">
<endpoint>"https://hooks.slack.com/services/<webhooks-token>"</endpoint>
<level>ERROR</level>
  <layout class="ch.qos.logback.classic.PatternLayout">
      <pattern>%date %-5level - %logger{0} - %message%n</pattern>
  </layout>
</appender>