summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-12-05 18:18:54 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-12-05 22:47:52 +0000
commit8cf75dd4ea044f0d009b41edcf2ee76bf668688b (patch)
treef4c0cdd5849463ab448428627e7985004e734f6b
parent8db03b6cd7a672cc7487ecc9fff7dce2bd1f9d89 (diff)
downloadimport-8cf75dd4ea044f0d009b41edcf2ee76bf668688b.tar.gz
Log when we receive a msg on stderr
This is helpful for discovering when messages are being put on stderr, we're collecting messages on stderr, but these could come from different subprocesses leading to a confusing mixture of error messages.
-rw-r--r--baserockimport/mainloop.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/baserockimport/mainloop.py b/baserockimport/mainloop.py
index 8d0d563..057ab98 100644
--- a/baserockimport/mainloop.py
+++ b/baserockimport/mainloop.py
@@ -58,6 +58,7 @@ def run_extension(filename, args):
output.append(line)
def report_extension_stderr(line):
+ logging.debug('Received "%s" on stderr' % line)
errors.append(line)
def report_extension_logger(line):