[JAVA] Log Level Memorandum

A log level setting memo that was examined earlier. log4j. But maybe a memo from almost a year ago. It's a waste to throw away the memo, so I'll list it here.

ALL: Output all levels OFF: Do not output the log

In descending order of log level (can you say that? The lower you go, the more detailed)

  1. FATAL
  2. ERROR
  3. WARN
  4. INFO
  5. DEBUG
  6. TRACE

ERROR is the default if you do not specify a log level.

In Log4J settings There is a processing stage, RootLogger -> Logger -> AppendeRef -> Appender -> Formatter Level can be limited at each stage

Logger can specify multiple AppenderRef You can do things like info in Logger, but info in one of AppenderRef and warn in the other.

Recommended Posts

Log Level Memorandum
memorandum
memorandum
About the log level of java.util.logging.Logger
MyBatis memorandum
Java memorandum
Rails memorandum
Error memorandum
Jaba Jaba Memorandum
JavaFx memorandum
JAVA memorandum
JUnit memorandum
Docker memorandum
Gradle Memorandum
Docker memorandum
thymeleaf memorandum