• Jérome Perrin's avatar
    proxy: don't set app logger level · 2b3e93d2
    Jérome Perrin authored
    logging is configured globally in SlapOSApp.configure_logging and:
     - if logging to file is enabled, it is logged with maximum level
     - logging on the console depends on --quiet / --verbose command line flags
    
    Default log level of this logger was DEBUG, which is just fine: the logger
    emit all messages and the file/console handler decide to output them or not
    
    Because we configure logger after Flask initialize its own logging, for
    Flask >= 1.1.2, we remove Flask logger as described in
     https://flask.palletsprojects.com/en/1.1.x/logging/#removing-the-default-handler
    2b3e93d2
__init__.py 4.19 KB