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 18:18:54 +0000
commitd801aad8a66951ebbeb4348f7437f0773e439b1b (patch)
tree982d2e4e869d8059de75ee78e2279e098292a216
parent100edd396bb73df9bb9d39e6050d4b1d0a5b2cf1 (diff)
downloadimport-d801aad8a66951ebbeb4348f7437f0773e439b1b.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):