fix default log level for production
This commit is contained in:
parent
6df0efceac
commit
11d52dc61a
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue