Replies: 1 comment 1 reply
-
Hello! If your hooks print JSON lines, you can use "proxying JSON logs" available since version 1.0.10. In short, it is possible to set LOG_LEVEL=error and see only errors from the shell-operator and also get full control over log level for your hooks. Check new section in RUNNING.md. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I was wondering if there is a way to manage the amount of logs other than LOG_LEVEL and LOG_NO_TIME Env-Variable ?
I'd like to have a middle ground between only seeing errors and having a bare minimum of infos that I echo / print myself from the hook script, unfortunately the latest will only show up if log_level is set to info which will add extra log lines for me to filter later down the road.
Example below, hook triggers will logs 4 lines and only the 2nd is of interest to me.
Any way to have more controls over my hook logs ? Thanks
Beta Was this translation helpful? Give feedback.
All reactions