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

Support change of loglevel per Runtime without restarting KIM #397

Open
2 tasks
tobiscr opened this issue Sep 23, 2024 · 2 comments
Open
2 tasks

Support change of loglevel per Runtime without restarting KIM #397

tobiscr opened this issue Sep 23, 2024 · 2 comments
Labels
area/control-plane Related to all activities around Kyma Control Plane kind/feature Categorizes issue or PR as related to a new feature.

Comments

@tobiscr
Copy link
Contributor

tobiscr commented Sep 23, 2024

Description

For debugging purposes it is helpful to enable the debug-log for a particular runtime. KIM should be able to change the log-level (e.g. to DEBUG or TRACE) for all log-messages generated during the reconciliation of a paritcular RuntimeCR.

AC:

  • An annotation is added to the RuntimeCR which indicates that KIm should use a particular log-level for this runtime
  • KIM is at the beginning of the reconciliation of a RuntimeCR checking the loglevel-label defined the RuntimeCR. If not loglevel-label is set, its using the configured default-loglevel. Otherwise, the logger is using the defined loglevel.

Reasons

Changing loglevels for a paritcular runtime can simplify the debugging process.

Attachments

@tobiscr tobiscr added kind/feature Categorizes issue or PR as related to a new feature. area/control-plane Related to all activities around Kyma Control Plane labels Sep 23, 2024
@tobiscr
Copy link
Contributor Author

tobiscr commented Sep 30, 2024

Relates to #402

@tobiscr
Copy link
Contributor Author

tobiscr commented Sep 30, 2024

Could be covered by https://github.com/stakater/Reloader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Related to all activities around Kyma Control Plane kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant