Prev Next

Java / log4j

Explain few format characters used in log4j.

The format characters used in log4j are,

L- it is used to output the line number from where the logging request was processed or issued.

m- It is used to output the application supplied message related to the logging event.

p- It is used to output the priority of the logging event.

C- It is used to output the class name of the caller issuing the logging request.

More Related questions...

Show more question and Answers...


Comments & Discussions