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

Ability to restore log levels #40

Open
oscarfh opened this issue Jan 19, 2021 · 4 comments
Open

Ability to restore log levels #40

oscarfh opened this issue Jan 19, 2021 · 4 comments
Labels
good first issue Good for newcomers

Comments

@oscarfh
Copy link
Contributor

oscarfh commented Jan 19, 2021

As a user, I want to be able to restore log levels, so everything is back to how it was configured when the service started

Notes:

  • If someone else made some change before I open the UI and I reset, everything is back to what it was configured
  • The original value is the value in the "configured" field for each logger
@oscarfh oscarfh added the good first issue Good for newcomers label Jan 22, 2021
@survivant
Copy link
Contributor

I'll add this. Be able to store the logs levels in json file on disk. When the application start, this extension load the file if the file is present. If the file is not present or deleted.. we have the default value.

We have that feature in our "Springboot" application and we need to have that in Quarkus too. We are using Kubernetes with Persistent volumes, so when the pod restart we don't loose our logging levels.

@phillip-kruger
Copy link
Member

The idea here is to allow changing of log levels in runtime (like we currently do) then with one button restore to what the levels was.
To permanently change log levels, you can use application.properties.

@survivant
Copy link
Contributor

survivant commented Mar 8, 2021 via email

@phillip-kruger
Copy link
Member

Well, that seems to be more a config issue than a logger-manager.
The way to configure logging in Quarkus is via config, you might want to then look at an external ConfigSource that you can change without having to repackage the application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants