YingboWang commented on issue #14859: URL: https://github.com/apache/airflow/issues/14859#issuecomment-806255219
@anthonyp97 Thank you for reporting this. In our cluster the smart sensor logging works fine. Look to me it may be related to the logging configuration setting. The smart sensor task has two categories of log: 1. The task log for itself (similar to general task logs). 2. Cached handlers for all registered and sensing sensors. The logger of second group is initiated by SensorWork._get_sensor_logger() which copy the logic of airflow tasks logger and set context based on each specific sensor task. These loggers simulate the behavior of task log to make airflow UI able to retrieve log for sensors without changing the logic. Are you using the default airflow logging setup? -- 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. For queries about this service, please contact Infrastructure at: [email protected]
