log4j

Bonita 2022-1: LOG4j2 not working on Apache Tomcat 9

Hello, I can't configure the logs with LOG4J2 in Bonita 2022-1 with an Apache Tomcat 9.
If I run start-bonita.bat it works perfectly. If it is run as Service it doesn't work. Any ideas ?
Does anyone know how to configure it?

Thank you

Hoy can I change the log4j level in WildFly server?

I'm logging in a Groovy script using:

Logger logger = Logger.getLogger("org.bonitasoft");
logger.info("Test log");

It works fine in development environment, but in the production server I can´t see the logs in server.log file.

I tried modifying standalone.xml and logging.properties, but when I restart the server it changes again to 'WARN'.

Is it possible to do this or I should debug using the WARN level?

Thank you very much.

Notifications