config.ini (763B)
1 [encadre_test_app] 2 framework = flask 3 # versioning = headers # can be set to prefix 4 # first_version = 0 5 6 # Choose what to do with an exception 7 # either throw the 'traceback' or just the message 'string' 8 # and return it along with a 500 9 # or let reraise by default 10 on_exception = traceback 11 12 13 [flask] 14 PORT = 5001 15 DEBUG = true 16 HOST = 0.0.0.0 17 18 [uwsgi] 19 http = localhost:5001 20 file = encadre_test_app.wsgi 21 22 [loggers] 23 keys = root, encadre, encadre_flask 24 25 [logger_root] 26 handlers = 27 28 [logger_encadre] 29 level = DEBUG 30 handlers = console 31 qualname = encadre 32 33 [logger_encadre_flask] 34 level = DEBUG 35 handlers = console 36 qualname = encadre_flask 37 38 [handlers] 39 keys = console 40 41 [formatters] 42 keys = generic 43 44 [formatter_generic] 45 46 [handler_console] 47 class = StreamHandler 48 args = (sys.stderr,)