Log4j2 migration issue

JASMINE DASH <[email protected]> Thu, 28 Mar 2024 16:42:21 +0530
Newsgroups gmane.comp.jakarta.log4j.user
Message-ID <CAHM0pxLj+wtw9BApOcUxrJsreMAL5JQbbNs7jXzySk66yEv98w@mail.gmail.com>
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