ownsrc debugging
[hippotat] / hippotatd
index a6d3179..399dfe7 100755 (executable)
--- a/hippotatd
+++ b/hippotatd
@@ -265,6 +265,7 @@ def start_http():
 
   ssp = SourceShipmentPreparer(td)
   ssp.logger = partial(log_debug, DBG.OWNSOURCE)
+  if DBG.OWNSOURCE in debug_set: ssp.stream_debug = sys.stdout
   ssp.generate()
 
   resource.putChild(b'source',  twisted.web.static.File(ssp.output_paths[0]))