Rework the config to use runit logging.
This commit is contained in:
parent
334b4634d7
commit
212a4650f4
29 changed files with 58 additions and 165 deletions
|
@ -67,5 +67,5 @@ application.teardown_request(close_db)
|
|||
application.request_class = RequestWithId
|
||||
|
||||
if __name__ == '__main__':
|
||||
logging.config.fileConfig('conf/logging_local.conf', disable_existing_loggers=False)
|
||||
logging.config.fileConfig('conf/logging.conf', disable_existing_loggers=False)
|
||||
application.run(port=5000, debug=True, threaded=True, host='0.0.0.0')
|
||||
|
|
Reference in a new issue