[ 
https://issues.apache.org/jira/browse/AIRFLOW-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16622589#comment-16622589
 ] 

ASF GitHub Bot commented on AIRFLOW-3090:
-----------------------------------------

Fokko closed pull request #3920: [AIRFLOW-3090] Demote dag start/stop log 
messages to debug
URL: https://github.com/apache/incubator-airflow/pull/3920
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/airflow/utils/dag_processing.py b/airflow/utils/dag_processing.py
index 89e5701cf1..8ddddad104 100644
--- a/airflow/utils/dag_processing.py
+++ b/airflow/utils/dag_processing.py
@@ -487,7 +487,7 @@ def heartbeat(self):
 
         for file_path, processor in self._processors.items():
             if processor.done:
-                self.log.info("Processor for %s finished", file_path)
+                self.log.debug("Processor for %s finished", file_path)
                 now = timezone.utcnow()
                 finished_processors[file_path] = processor
                 self._last_runtime[file_path] = (now -
@@ -560,7 +560,7 @@ def heartbeat(self):
             processor = self._processor_factory(file_path)
 
             processor.start()
-            self.log.info(
+            self.log.debug(
                 "Started a process (PID: %s) to generate tasks for %s",
                 processor.pid, file_path
             )


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> INFO logs are too verbose
> -------------------------
>
>                 Key: AIRFLOW-3090
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3090
>             Project: Apache Airflow
>          Issue Type: Wish
>            Reporter: William Pursell
>            Priority: Minor
>
> info logging is so verbose that it is very difficult to find info.  Many of 
> the INFO logs should probably be DEBUG instead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to