Merge remote-tracking branch 'origin/main' into feature/process_instance_search

This commit is contained in:
jasquat 2022-09-23 09:19:15 -04:00
commit 32320f901f
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ def setup_logger(app: Flask) -> None:
spiff_logger_filehandler = None
if app.config["SPIFFWORKFLOW_BACKEND_LOG_TO_FILE"]:
spiff_logger_filehandler = logging.FileHandler(
f"{app.root_path}/../../log/{app.env}.log"
f"{app.instance_path}/../../log/{app.env}.log"
)
spiff_logger_filehandler.setLevel(spiff_log_level)
spiff_logger_filehandler.setFormatter(log_formatter)