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
2009-11-06 21:47:56
+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
2009-11-07 03:56:08