Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match ConfigurationModelLogLevel with current log4j2 settings #301

Open
SebastianOpriel opened this issue Jun 14, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@SebastianOpriel
Copy link
Member

The Connector's actual logging depends on the settings in log4j2.xml

<Logger name="io.dataspaceconnector" level="debug" />

respectively the overwritten log level via Spring Boot Management Endpoints
#management.endpoints.web.exposure.include=logfile, loggers

On Connector startup the connector shall set the ConfigurationModelLogLevel
desc.setLogLevel(fromIdsLogLevel(configModel.getConfigurationModelLogLevel()));

based on the current log level from log4j2. In case the log level is updated via management endpoints, the setting shall be updated.

@SebastianOpriel SebastianOpriel added the bug Something isn't working label Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant