Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page Properties
hiddentrue
idrDEV

Product Version2022 Spring
Report Note
AssigneeAntje

Resources & Remarks

Modification History

NameDateProduct VersionAction
Antje16 DEC 20212022 SpringPage created & written.


...

Code Block
languageyml
logging.level.com.os.services: DEBUG

The target service has to be refreshed or restarted in order to activate the new logging configuration.

'/*/manage/loggers/**' Endpoints

The logger management endpoints are accessible only for users with specific authorization as defined in the authentication-prod.yml file and controlled by the AUTHENTICATION Service.

...

In order to set a log level at runtime, it can be specified in JSON format as shown in the example below and sent as request body to the POST endpoint http://<ip>:<port>/manage/loggers/<packageName>.

Code Block
languageyml
titleExample request body
collapsetrue
{"configuredLevel":"DEBUG"}

The change applies immediately to the service instance running on the target port has to be refreshed or restarted in order to activate the new logging configurationAfter a restart of this service, the log level is reset to the value configured in a configuration file as described before.

Summary

The configuration of log levels can be adjusted in the service deployment during the installation. For a system in operation, the logging can be configured in configuration files or via an endpoint.

Info
iconfalse

Read on

Section


Column
width25%

Configuring Services using Profiles

Insert excerpt
Configuring Services using Profiles
Configuring Services using Profiles
nopaneltrue
 Keep reading


Column
width25%

Health Check for Services

Insert excerpt
Health Check for Services
Health Check for Services
nopaneltrue
 Keep reading


Column
width25%

Service Monitoring

Insert excerpt
Service Monitoring
Service Monitoring
nopaneltrue
 Keep reading



...