uranusjr commented on code in PR #34964:
URL: https://github.com/apache/airflow/pull/34964#discussion_r1360495844


##########
airflow/models/baseoperator.py:
##########
@@ -933,7 +938,7 @@ def __init__(
         if dag:
             self.dag = dag
 
-        self._log = logging.getLogger("airflow.task.operators")
+        self._log = logging.getLogger(logger_name) if logger_name else None

Review Comment:
   Empty string and None mean different things for `getLogger`, this should 
allow both.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to