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_r216145232
##########
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:
Sounds reasonable. I assuming the log call at that line will introduce a
single `\n` after rstrip() removes all of the trailing white space in the
buffer. @ckljohn Can you make this change? Then we should be good to merge 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