Customer has a wildfly running with a war that contains this log4j.properties inside:
### direct log messages to stdout ###
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{DATE} %5p %c{1}:%L - %m%n
log4j.rootLogger=info, stdout
log4j.logger.org.hibernate=info
log4j.logger.org.springframework=error
log4j.logger.com.ibm.presentation=debug
I want to see the logs from the 'com.ibm.presentation' package, but I can't seem to find them anywhere. The comment in the log4j.properties says 'direct log messages to stdout' but the wildlfy is started as a service and there's no stdout that I am aware of.
Searching in the forum, I tried using jboss-cli adding loggers like described here: Controlling stderr and stdout output in WildFly but no luck at all.
Is there a way to override this log4j.xml in the war and print the log messages of the classes in the package in the normal server.log of the wildfly?