Don't log tabbott/extra test messages.

(imported from commit 8e1adecca14e5440298fd93b41e1a43da37c807f)
This commit is contained in:
Tim Abbott 2012-10-23 11:06:22 -04:00
parent 6f4b0de057
commit 386b48e80f
1 changed files with 2 additions and 1 deletions

View File

@ -418,6 +418,7 @@ def log_event(event):
fcntl.flock(lock, fcntl.LOCK_UN)
def log_message(message):
if not message.sending_client.name.startswith("test:"):
log_event(message.to_log_dict())
def do_send_message(message, no_log=False):