Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Only configure a file logging handler when a log file is given #5

Open
wants to merge 1 commit into
base: burble-clean
Choose a base branch
from

Conversation

AluisioASG
Copy link

When running under systemd, Flask's default handler is enough.

Also cleaned up the app.logger.setLevel call, to which you can pass the level name since Python 3.2.

When running under systemd, Flask's default handler is enough.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant