tags:

views:

316

answers:

5

For example, ejabberd and couchdb use own logger. Question is what logger do you use? Own or what? Thank you!

+1  A: 

I use my own logger because I find that the OTP one (SASL error_logger) is difficult to work with. The format can't be read by a simple cat or text editor so it makes quick debugging not trivial.

My solution is inspired by ejabberd.

jldupont
+2  A: 

I use log4erl

TP
+3  A: 

I use my own. But I use the OTP gen_event behaviour to do so. It makes it easy to roll your own in such a way that logging can be asynchronous and fits into an OTP setup easily.

Jeremy Wall
A: 

I use SASL error_logger.

Robert Smith
+1  A: 

I use SASL. It has been great.

Tristan Sloughter