Created
June 27, 2018 08:32
-
-
Save njujerry/209ab290ad9be2aa9d48b9de6924752f to your computer and use it in GitHub Desktop.
log4j指定级别记录对应的日志文件
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log4j.appender.debugfile.Threshold = DEBUG | |
log4j.appender.debugfile.filter.F1 = org.apache.log4j.varia.LevelRangeFilter | |
log4j.appender.debugfile.filter.F1.LevelMin = DEBUG | |
log4j.appender.debugfile.filter.F1.LevelMax = DEBUG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment