We're trying to update the logging level from the default INFO to WARN in a GKE-containerized restmon agent (deployed by helm chart), however this doesn't seem to have an effect. We have been able to change logging level to DEBUG and then back to INFO successfully, however setting the level to WARN still results in INFO messages being logged.
Looking at the application.properties file, I see the following configuration:
logging.level.com.ca.ce.restmon=warn
logging.level.com.ca.ce.restmon.nass=info
logging.level.com.ca.ce.restmon.publish=info
logging.level.com.ca.ce.restmon.app.health=info
logging.level.UrlResponseLogger=off
logging.level.streamingWebhookPayloads=off
What we use to set the logging level is the following variable:
restmon:
properties:
logLevel: "warn"
There are other available settings as well (setting the healthLogLevel to warn doesn't change much):
urlResponseLogger: "off"
healthLogLevel: "info"
But I'm not sure if they should be used (and they don't seem to cover all the logging levels above) - please advise how we can stop all INFO logging in the agent?
Release : SAAS
Only info or debug is supported. No other value.
restmon.properties.logLevel info Defines the level of log information that must be captured in the RESTMon log file.
Supported Values: info or debug