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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to