diff options
author | Jonathon Fernyhough | 2017-07-09 13:27:30 +0100 |
---|---|---|
committer | Jonathon Fernyhough | 2017-07-09 13:28:00 +0100 |
commit | b8285b1016117d0ed9b53973ed6b9d65838c6824 (patch) | |
tree | f51d5db5599278a46a70586e2a35432b6e03f105 /reduce-logging.patch | |
parent | 3c9c7800ce3f679629c4bcb7ad9e9ce4e1eabba3 (diff) | |
download | aur-b8285b1016117d0ed9b53973ed6b9d65838c6824.tar.gz |
Patch to reduce default log level
Diffstat (limited to 'reduce-logging.patch')
-rw-r--r-- | reduce-logging.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/reduce-logging.patch b/reduce-logging.patch new file mode 100644 index 000000000000..f2b9ee2c383d --- /dev/null +++ b/reduce-logging.patch @@ -0,0 +1,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) |