summaryrefslogtreecommitdiff
path: root/distbuild
diff options
context:
space:
mode:
Diffstat (limited to 'distbuild')
-rw-r--r--distbuild/worker_build_scheduler.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/distbuild/worker_build_scheduler.py b/distbuild/worker_build_scheduler.py
index a62fa7f0..758e84b2 100644
--- a/distbuild/worker_build_scheduler.py
+++ b/distbuild/worker_build_scheduler.py
@@ -420,6 +420,7 @@ class WorkerConnection(distbuild.StateMachine):
self._writeable_cache_server = writeable_cache_server
self._worker_cache_server_port = worker_cache_server_port
self._morph_instance = morph_instance
+ self._debug_exec_output = False
addr, port = self._conn.getpeername()
name = socket.getfqdn(addr)
@@ -594,7 +595,8 @@ class WorkerConnection(distbuild.StateMachine):
new = dict(msg)
new['ids'] = job.initiators
- logging.debug('WC: emitting: %s', repr(new))
+ if self._debug_exec_output:
+ logging.debug('WC: emitting: %s', repr(new))
self.mainloop.queue_event(
WorkerConnection,
WorkerBuildOutput(new, job.artifact.cache_key))