====== Logging ====== Tutos: * [[https://betterstack.com/community/guides/logging/how-to-start-logging-with-flask/]] * [[https://blog.callicode.fr/post/2020/flask-logging.html]] Dans la config de l'application, définir un chemin où seront stockés les fichiers de log : import os BASE_DIR = os.path.abspath(os.path.dirname(__file__)) LOG_PATH = os.path.join(BASE_DIR, 'logs/')