diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-04-02 16:21:54 +0100 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2015-04-09 11:40:52 +0000 |
commit | 9ff939ae35944a4c4a2fa0af972ce22c702a3cab (patch) | |
tree | 9452a4d757764f83eaa8cd15335f2a79e40cf02c /distbuild/stringbuffer.py | |
parent | 3bae7387ea8c0f75294cfc939f942c61134b2dda (diff) | |
download | morph-9ff939ae35944a4c4a2fa0af972ce22c702a3cab.tar.gz |
distbuild: Disable extra message debugging in worker log files
Worker log files are overly verbose with this enabled, each message is
dumped 6 times:
2015-03-19 11:00:11 DEBUG JsonMachine: Received: '"{...}\\n"\n'
2015-03-19 11:00:11 DEBUG JsonMachine: line: '"{...}\\n"'
2015-03-19 11:00:11 DEBUG JsonRouter: got msg: {...}
2015-03-19 11:00:11 DEBUG JsonMachine: Sending message {...}
2015-03-19 11:00:11 DEBUG JsonMachine: As '"{...}\\n"'
2015-03-19 11:00:11 DEBUG JsonRouter: sent to client: {...}
With this setting disabled, the message is only logged by the JsonRouter
class, so appears only twice:
2015-03-19 11:00:11 DEBUG JsonRouter: got msg: {...}
2015-03-19 11:00:11 DEBUG JsonRouter: sent to client: {...}
We've not seen any issues with message encoding/decoding recently so I
think it's safe to disable this debugging output by default.
Change-Id: I7d22ed29e81d6c594cb2c639abf3b40bfb27e3ad
Diffstat (limited to 'distbuild/stringbuffer.py')
0 files changed, 0 insertions, 0 deletions