How to configure logging.properties

1
0
-1

Hello experts,

I need to modify the default logging.properties file for several reasons, including changing the default level of logs, and changing the syntax, so that it matches more precisely standard Tomcat logs syntax, to be understood by our log server.

For all files on the server, ususally the proper way to configure is to edit a file in bonitadir/setup, and restart the server so that it generates automatically the files in bonitadir/server/conf

However, I cannot find any logging.properties file in bonitadir/setup.

What is the recommended way to configure the logging.properties file ?

Thanks,

1 answer

1
0
-1
This one is the BEST answer!

In fact most of Tomcat files that are edited for Bonita bundles purpose are located in setup/tomcat-templates folder and override the default Tomcat files. But for a reason I ignore this does not apply to logging.properties file. The file located in server/conf include by default the customization done for Bonita.

So the recommendation is simply to edit the file server/conf/logging.properties and restart the server.

Notifications