Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/hotosm/fmtm into dev…
Browse files Browse the repository at this point in the history
…elopment
  • Loading branch information
spwoodcock committed Nov 21, 2023
2 parents 5c58345 + 808a32f commit 517c3bb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/backend/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ def get_logger():
# format=log_json_format, # JSON format func
)

log.add(
"/opt/logs/create_project.json",
level=settings.LOG_LEVEL,
enqueue=True,
serialize=True,
rotation="00:00",
retention="10 days",
filter=lambda record: record["extra"].get("task") == "create_project",
)
log.add(
"/opt/logs/create_project.json",
level=settings.LOG_LEVEL,
enqueue=True,
serialize=True,
rotation="00:00",
retention="10 days",
filter=lambda record: record["extra"].get("task") == "create_project",
)


api = get_application()
Expand Down

0 comments on commit 517c3bb

Please sign in to comment.