log4j定义了8个级别的log(除去OFF和ALL,可以说分为6个级别),优先级从高到低依次为:OFF.FATAL.ERROR.WARN.INFO.DEBUG.TRACE. ALL. ALL 最低等级的,用于打开所有日志记录. TRACE designates finer-grained informational events than the DEBUG.Since:1.2.12,很低的日志级别,一般不会使用. DEBUG 指出细粒度信息事件对调试应用程序是非常有帮助的,主要用于开发过程中…
Level Description Example emerg Emergencies - system is unusable 紧急 - 系统无法使用 Child cannot open lock file. Exiting alert Action must be taken immediately 必须立即采取措施 getpwuid: couldn't determine user name from uid crit Critical Conditions 致命情况 socket: Fa…