You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/01/19 23:39:03 UTC
[airflow] branch master updated: Change log level from debug to
info when spawning new gunicorn workers (#13780)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 7a742cb Change log level from debug to info when spawning new gunicorn workers (#13780)
7a742cb is described below
commit 7a742cb03375a57291242131a27ffd4903bfdbd8
Author: drago-f5a <64...@users.noreply.github.com>
AuthorDate: Tue Jan 19 17:38:55 2021 -0600
Change log level from debug to info when spawning new gunicorn workers (#13780)
---
airflow/cli/commands/webserver_command.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/airflow/cli/commands/webserver_command.py b/airflow/cli/commands/webserver_command.py
index 6831553..bf60c1a 100644
--- a/airflow/cli/commands/webserver_command.py
+++ b/airflow/cli/commands/webserver_command.py
@@ -260,7 +260,8 @@ class GunicornMonitor(LoggingMixin):
new_worker_count = min(
self.num_workers_expected - num_workers_running, self.worker_refresh_batch_size
)
- self.log.debug(
+ # log at info since we are trying fix an error logged just above
+ self.log.info(
'[%d / %d] Spawning %d workers',
num_ready_workers_running,
num_workers_running,