Editing logging parameters in the application.properties file does not work.
Is there a way to suppress INFO level logging and only log WARNING or ERROR level logging?
Environment
Applications Manager version 9.6 and 9.6.1
Resolution
A fix will be included in Applications Manager version 9.6.2 and 9.7, which will allow changes to logging parameters from within the application.properties file.
Workaround 1:
This is an easier option but is a Java level change.
Edit the JAVA_HOME/conf/logging.properties file for the JAVA_HOME folder that is used by Applications Manager
Change java.util.logging.ConsoleHandler.level from INFO to SEVERE as seen below:
java.util.logging.ConsoleHandler.level = SEVERE
Restart Applications Manager and webserver. If there are no issues starting the webserver, the webserver.log will be empty.
Workaround 2:
This is an Applications Manager level change.
Create file log.properties with following content and copy to $AW_HOME directory:
# Set the default logging level for everything .level=WARNING # Use a console handler handlers=java.util.logging.ConsoleHandler # Console logging level and format java.util.logging.ConsoleHandler.level=WARNING java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
Edit the AW_HOME/data/inst.pl
find the section start_webserver, add "-Djava.util.logging.config.file=log.properties" to the below command, and save/close.