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)
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