afischer-opentext-com commented on issue #15279:
URL: https://github.com/apache/airflow/issues/15279#issuecomment-867666277


   Another approach is to wrap the LogHandler into something like this:
   
   ```(python)
   import watchtower
   
   
   class NoEmptyMessageHandler(watchtower.CloudWatchLogHandler):
       def emit(self, message):
           if isinstance(message.msg, str) and not message.msg:
               pass
           else:
               super().emit(message)
   ```
   


-- 
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]


Reply via email to