forked from checkstyle/checkstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
How to out DEBUG logs of checkstyle
Roman Ivanov edited this page May 17, 2016
·
1 revision
$ cat log.properties
handlers=java.util.logging.ConsoleHandler
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.ConsoleHandler.level=FINEST
.level=FINEST
$ java -Djava.util.logging.config.file=log.properties -jar checkstyle-6.5-all.jar -c config.xml test.java 3>&1 1>&2 2>&3 | grep Exception
com.puppycrawl.tools.checkstyle.api.CheckstyleException: missing key 'severity' in TypeName
com.puppycrawl.tools.checkstyle.api.CheckstyleException: missing key 'severity' in TreeWalker
com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to find class for TreeWalker
.....