News for hackers. Stuff that matters.
Re:A Manifesto For Error Reporting by adrianmsmith on Tuesday March 05, 2013 @01:05PM (#5326173)
Yes I've thought about this topic as well.

All loggers in all languages have these different levels. But rarely is it defined which to use when! It's considered "obvious" but, unless it's actually defined, each programmer will find it obvious in a different way. Reading the logfile in production or using rules to only display logs beyond a certain severity won't be useful if every piece of code uses different levels to mean different things.

Here are the rules I came up with:

http://www.databasesandlife.com/which-log-levels-to-use-when...

Re:A Manifesto For Error Reporting by gingerlime on Tuesday March 05, 2013 @02:48PM (#5326869)
looks like we have the same idea of which levels makes sense. It's surprising how many developers don't bother thinking about it or realising the importance of logging in general, and consistent logging in particular.