-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[common-log] Enable change of log level at runtime #4433
Conversation
9d75b0d
to
53a25c0
Compare
5654da2
to
bd69abc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. LGTM
c360a50
to
c36bcb5
Compare
/werft run 👍 started the job as gitpod-build-aledbf-dynamiclevel.29 |
/werft run 👍 started the job as gitpod-build-aledbf-dynamiclevel.30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
c36bcb5
to
831f242
Compare
831f242
to
dd22e2a
Compare
/werft run 👍 started the job as gitpod-build-aledbf-dynamiclevel.33 |
Allow the change of log level at runtime using the pprof port with a new endpoint.
Using port-forward:
Get current level
curl localhost:6060/debug/logging
Change level
curl localhost:6060/debug/logging -d '{"level":"info"}'
default value is
trace
(current value)Also configures containerd log (logrus) with gitpod-io log settings