From 47406335ac6256343a603e25b7e0c348fa3e4a3f Mon Sep 17 00:00:00 2001 From: Sadrul Habib Chowdhury Date: Sun, 10 Feb 2008 11:29:36 +0000 Subject: [PATCH] Debug/Info level log messages are noisy for the null-client. --- deluge/ui/null/deluge_shell.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/ui/null/deluge_shell.py b/deluge/ui/null/deluge_shell.py index 28b645393..b736c6a9f 100755 --- a/deluge/ui/null/deluge_shell.py +++ b/deluge/ui/null/deluge_shell.py @@ -26,6 +26,7 @@ deluge-shell: Deluge shell. import deluge.ui.client as client import deluge.common as common import readline +import logging import sys @@ -280,6 +281,7 @@ commands = { 'del' : CommandRemove(), } +logging.disable(logging.ERROR) client.set_core_uri("http://localhost:58846") class NullUI: