Replies: 1 comment
-
Just read: https://github.com/actions/actions-runner-controller/blob/master/logging/logger.go#L73-L74, I now understand the logic. Setting the log level to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why are you starting this discussion?
Question
What GitHub Actions topic or product is this about?
ARC (Actions Runner Controller)
Discussion Details
It is possible to set the log level in the ARC controller - gha-runner-scale-set-controller Helm chart - and choose between various levels, such as "debug", "info", "warn", and "error". However, I am not sure where this translates in the controller's code.
In the legacy ARC controller's code, this is visible with the
go-loggr
log.V(N)
where the verbosity is chosen. e.g. here. This isn't used in the current controller in https://github.com/actions/actions-runner-controller/tree/master/controllers/actions.github.com.Therefore, would it be useful to add such log lines with various verbosity levels so that setting
debug
level in the helm chart also enables those log lines, which could be helpful for troubleshooting.Beta Was this translation helpful? Give feedback.
All reactions