Clojure

Centralising Clojure/Java logging with Logback, LogStash, ElasticSearch, and Kibana

Checking logs when you have more than one servers is painful. Use Logback/Logstash-forwarder to send json-formatted logs to a central server running Logstash/ElasticSearch/Kibana, where you can then slice and dice logs to your heart’s content with the power of ElasticSearch and Kibana. Confs and docs available here: https://github.com/vaughnd/centralised-logging

Integrating Logback with Clojure

I’ve uploaded a sample project showing you how to integrate Logback with Clojure. There are simpler Clojure logging libraries like TimbreĀ , but using a standardised Java logging has the handy advantage of letting you control logging from non-clojure code as well as redirecting to separate log files and appenders.