fix default log level for production

This commit is contained in:
Morgan McMillian 2018-03-25 11:37:18 -07:00
parent 6df0efceac
commit 11d52dc61a

View file

@ -227,7 +227,7 @@ class ChannelMonitor(threading.Thread):
rooms = MatrixRoom2.query.all() rooms = MatrixRoom2.query.all()
for r in rooms: for r in rooms:
self.poll_channel(r) self.poll_channel(r)
time.sleep(.5) time.sleep(5)
time.sleep(3) time.sleep(3)
logging.info("-- Stopping channel monitor --") logging.info("-- Stopping channel monitor --")
@ -236,7 +236,7 @@ if __name__ == '__main__':
with open("config.yaml", "rb") as config_file: with open("config.yaml", "rb") as config_file:
config = yaml.load(config_file) config = yaml.load(config_file)
logging.basicConfig(level=logging.DEBUG) logging.basicConfig(level=logging.INFO)
app.config.update(config) app.config.update(config)