From 11d52dc61a861cbcf123f579071fb647a0dc075f Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sun, 25 Mar 2018 11:37:18 -0700 Subject: [PATCH] fix default log level for production --- pnut-bridge.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pnut-bridge.py b/pnut-bridge.py index 2c019f1..8818da7 100644 --- a/pnut-bridge.py +++ b/pnut-bridge.py @@ -227,7 +227,7 @@ class ChannelMonitor(threading.Thread): rooms = MatrixRoom2.query.all() for r in rooms: self.poll_channel(r) - time.sleep(.5) + time.sleep(5) time.sleep(3) logging.info("-- Stopping channel monitor --") @@ -236,7 +236,7 @@ if __name__ == '__main__': with open("config.yaml", "rb") as config_file: config = yaml.load(config_file) - logging.basicConfig(level=logging.DEBUG) + logging.basicConfig(level=logging.INFO) app.config.update(config)