Closed boudhayan-dev closed 2 years ago
Hi,
thanks for reporting this issue. The environment variable SET_LOGGING_LEVEL
is a feature of the SAP Java buildpack. Please contact the relevant team for information on that. The default log level can be configured in the logback.xml, in the `
Best Regards, Karsten
I am using sap_java_buildpack (11) to deploy a java servlet service. I have added the following dependencies -
I have a logback config as follows
In the CF manifest I have set the log level to INFO as mentioned here - SET_LOGGING_LEVEL
However, when the application is pushed, it is noticed that the change of logger level triggers an auditlog event, which fails to register in the auditlog service. FYI, the app is also bound to an
oauth2
plan of audit log service. I have verified the functionality of the auditlog and it works fine.Currently, the auditlog is instantitated as a singleton, right after the servlet starts up using a listener callback.
Following are the logs which depict the nature of the error -
Regards.