The log levels WARN, ERROR and FATAL are pretty clear. But when is something DEBUG, and when INFO?
I’ve seen some projects that are annoyingly verbose on the INFO level, but I’ve also seen code that favors the DEBUG level too much. In both cases, useful information is hidden in the noise.
What are the criteria for determining log levels?
I don’t think there are any hard-and-fast rules; using the log4j-type levels, my ‘rules of thumb’ are something like:
Not set in stone, but a rough idea of how I think of it.