summarylogtreecommitdiffstats
path: root/reduce-logging.patch
blob: f2b9ee2c383d2b3120cd7267745db2f906e9b6b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/RadioTray.py b/src/RadioTray.py
index cc6eec2..77f738a 100644
--- a/src/RadioTray.py
+++ b/src/RadioTray.py
@@ -167,7 +167,7 @@ class RadioTray(object):
     def configLogging(self):
         # config logging
         self.logger = logging.getLogger('radiotray')
-        self.logger.setLevel(logging.DEBUG)
+        self.logger.setLevel(logging.WARN)
         handler = logging.handlers.RotatingFileHandler(LOGFILE, maxBytes=2000000, backupCount=1)
         formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')
         handler.setFormatter(formatter)