r39132 commented on a change in pull request #3862: [AIRFLOW-1917] Remove extra 
newline character from log
URL: https://github.com/apache/incubator-airflow/pull/3862#discussion_r216145169
 
 

 ##########
 File path: airflow/utils/log/logging_mixin.py
 ##########
 @@ -92,7 +92,7 @@ def write(self, message):
             self._buffer += message
         else:
             self._buffer += message
-            self.logger.log(self.level, self._buffer)
+            self.logger.log(self.level, self._buffer.rstrip('\n'))
 
 Review comment:
   Got it. 

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


With regards,
Apache Git Services

Reply via email to