[slf4j-user] How to write good log message?

hezjing hezjing at gmail.com
Mon Nov 5 09:59:36 CET 2007


Hi

In my company, there are different developer working on the same
project and each has their own style of writting log messages.

Some use active, some use pasive, some print the exception message,
whereas some will print the entire stack trace, and the worst, some
simply print the variable=value without any description!

So my log file contains the messages in various styles and it is
difficult to read.

How do you do it your company?
Do you follow any guideline and convention to write a good log message?


-- 

Hez



More information about the slf4j-user mailing list