modcloth-labs / druidia

Simple HTTP endpoint for logging messages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Druidia

Druidia is a really simple HTTP endpoint for logging messages.

  1. Make an HTTP POST of a JSON blob to the URL /:type
  2. Druidia logs the message to a file with type in the filename!!

Build & Run

Druidia uses sbt as a build tool. After cloning the repo

$ cd <REPODIR>

To build an executable jar:

$ sbt assembly

To run it:

$ java -jar target/scala/2.10/druidia-assembly-<VERSION>.jar

Druidia uses logback to do all actual work. You can configure logback through the logback.xml file.

Log files are automatically rotated into an archive directory after a default 10 minutes. This property can be configured in logback.xml by changing the interval property.

About

Simple HTTP endpoint for logging messages

License:MIT License


Languages

Language:Scala 100.0%