NextGen Knowledge Center

log4j2-cli.properties File

This is the same as the log4j2.properties file, except that it is specific to the Command Line Interface. You can edit the root logger level, and the STDOUT appender settings:

rootLogger=ERROR, stdout
 
# stdout appender
appender.console.type=Console
appender.console.name=stdout
appender.console.layout.type=PatternLayout
appender.console.layout.pattern=%-5p %d [%t] %c: %m%n