Tuesday, May 05, 2009

log4j log levels

Eric says:

 

Trace – I use for start and end of methods.

Debug – I use for low level debugging, info about the processing of single records.

Info – I use as a sparse group type comment, like ‘101 records processed.’

Warn – I use when something I don’t like happened, but the user may not care.

Error – I use when something un-expected happened and I’m stopping the processing.

Fatal –

                I don’t really use fatal I suppose I should – but how is it different then Error

No comments: