Posts

Showing posts with the label Log4j

[JAVA] JAVA log4j Level setting

Image
Log4j records logs divided into 7 levels of Event Level Depending on the config level setting, the log can be set as follows!!   FATAL > ERROR > WARN > INFO > DEBUG > TRACE TRACE ->  Specify more granular information than DEBUG DEBUG ->  Specify information for debugging programs INFO ->  Specifying informational messages such as status changes WARN ->  Specify a workable issue, warning message that may cause future system errors ERROR ->  If there is a problem processing your request FATAL ->  Serious error that may interrupt the program, if it is inoperable When carrying out the project, the development guide is generally required to print out four types of DEBUG, INFO, WARN, and ERROR separately!! Pattern Options %m : Output log content %p : debug, info, warn, error, fatal sort of priority print %r : Outputs in milliseconds after application starts until event occurs %c : package output %c{n} : Outputs n (numer...