-
Notifications
You must be signed in to change notification settings - Fork 925
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
The log level isn't adjustable and every hook reaction is returning POST 404 #1987
Comments
Thanks for opening this issue. A contributor should be by to give feedback soon. In the meantime, please check out the contributing guidelines and explore other ways you can get involved. |
Can you please provide code examples? Have you changed your code for the breaking changes of v13? https://github.com/probot/probot/releases/tag/v13.0.0 |
Sure. We don't use the parts mentioned in the breaking changes. As for the Node version, we're using v21 (as well, no changes had to be done in regards of breaking changes). Part of the code we have:
Those debug messages aren't in the logs when we run this code on the v13.0 and higher (minding that log level is set to debug in both versions builds). |
Bug Report
Current Behavior
After the probot module update to any of 13.0+ versions the log level is 30 and isn't changing no matter what LOG_LEVEL is set as env. In addition to that, every reaction on hooks is generating a POST on / with no payload which gets 404. No changes in code is done, except of probot version. The POST call isn't the one we are making as a reaction on the hook. Logs do not contain ANY info or debug logs we have in code. Setting it back to 12.3.3 make everything work.
Expected behavior/code
On lower versions (without any changes in the code) the probot reacts on hooks as it's set in the code and setting log level works as expected.
Environment
The text was updated successfully, but these errors were encountered: