A logback appender for Apache Flume, currently logs using HTTP/JSON.
Developed to configure our Play apps to log to our Flume setup.
For sbt:
"com.beamly.flumeback" %% "flumeback" % "0.2.0"
For maven:
<dependency>
<groupId>com.beamly.flumeback</groupId>
<artifactId>flumeback_${scala.binary}</artifactId>
<version>0.2.0</version>
</dependency>
(where scala.binary
is defined somewhere as 2.11
or 2.10
)
Add to logback.xml
(conf/application-logger.xml
for Play):
<appender name="FLUMEBACK" class="flumeback.FlumebackAppender" />
You can override the default settings within the appender. Here is an example with its defaults:
<appender name="FLUMEBACK" class="flumeback.FlumebackAppender">
<host>localhost</host>
<port>16301</port>
</appender>
- Scala 2.11.x or 2.10.x
- Logback 1.1.x
- Dispatch 0.11.x