You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using the docker image codiumai/pr-agent:0.26-gitlab_webhook
I'm trying to set the logging level using an environment variable, but found that it doesn't change the logging level in the service.
Problem
Right now, the logging configuration in pr-agent webhook is set up in a way that either ignores the provided environment variable and defaults to the "DEBUG" level even if LOG_LEVEL is set (e.g. to "ERROR").
Issues details
Summary
I'm currently using the docker image
codiumai/pr-agent:0.26-gitlab_webhook
I'm trying to set the logging level using an environment variable, but found that it doesn't change the logging level in the service.
Problem
Right now, the logging configuration in pr-agent webhook is set up in a way that either ignores the provided environment variable and defaults to the "DEBUG" level even if LOG_LEVEL is set (e.g. to "ERROR").
Requested Fix
Have pr_agent/servers/gitlab_webhook.py#L22 line set up like it does in pr_agent/cli.py#L10.
The text was updated successfully, but these errors were encountered: