Team,
I have recently migrated from log4j1.x to log4j2.x , so I have updated the
jar files , property files ,but still I am not able to log the logger in
the console.
Could you please guide what need to configure so that I can able to log
the logger in my console.
Please find the below log4j2.properties file.
rootLogger.level = INFO, STDOUT appender = Console
appender.console.name = STDOUT
appender.console.type = Console appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %5p [%t] %C{1}.%M() [%L] -> %m%
rootLogger.appenderRef.stdout.ref = STDOUT