forked from phoedos/pmd
Add simplelogger.properties in pmd-test
This provides a default configuration that will be used when resetting the logger configuration in CLITests or PMDTaskTest. Without this, slf4j-simple will keep the last configured default level. Now it will use the default level configured in simplelogger. Since pmd-test is not part of the distribution, this configuration file has no effect for the binaries.
This commit is contained in:
22
pmd-test/src/main/resources/simplelogger.properties
Normal file
22
pmd-test/src/main/resources/simplelogger.properties
Normal file
@ -0,0 +1,22 @@
|
||||
#
|
||||
# BSD-style license; for more info see http://pmd.sourceforge.net/license.html
|
||||
#
|
||||
|
||||
org.slf4j.simpleLogger.logFile=System.err
|
||||
org.slf4j.simpleLogger.showDateTime=false
|
||||
org.slf4j.simpleLogger.dateTimeFormat=yyyy-MM-dd'T'HH:mm:ss.SSSXXX
|
||||
org.slf4j.simpleLogger.showThreadName=true
|
||||
org.slf4j.simpleLogger.showThreadId=false
|
||||
org.slf4j.simpleLogger.showLogName=true
|
||||
org.slf4j.simpleLogger.showShortLogName=false
|
||||
org.slf4j.simpleLogger.levelInBrackets=false
|
||||
|
||||
# Default log level for all loggers
|
||||
# Must be one of "trace", "debug", "info", "warn", "error" or "off"
|
||||
# Will be changed by "--debug" command line option
|
||||
org.slf4j.simpleLogger.defaultLogLevel=info
|
||||
|
||||
# configure logging detail level for a single logger.
|
||||
# Must be one of "trace", "debug", "info", "warn", "error" or "off"
|
||||
#org.slf4j.simpleLogger.log.net.sourceforge.pmd.PMD=debug
|
||||
#org.slf4j.simpleLogger.log.com.example.rules.MyRule=debug
|
Reference in New Issue
Block a user