Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.

implemented simple logging#14

Merged
rosesyrett merged 3 commits into
masterfrom
implementLogging
Aug 23, 2022
Merged

implemented simple logging#14
rosesyrett merged 3 commits into
masterfrom
implementLogging

Conversation

@rosesyrett

Copy link
Copy Markdown
Contributor

Simple logging implemented.

Not sure any more is needed - all my exceptions are caught in server.py, with middleware exception handlers.

Comment thread src/diffcalc_API/server.py Outdated
Comment thread src/diffcalc_API/config.py Outdated
Rose Yemelyanova added 2 commits August 23, 2022 09:39
…nt variables in the created container. These then get picked up by pydantic BaseSettings and used to set logging config, with a try/except block to catch invalid settings and set a default logger.
@rosesyrett rosesyrett closed this Aug 23, 2022
@rosesyrett rosesyrett reopened this Aug 23, 2022
@rosesyrett rosesyrett merged commit 1147cad into master Aug 23, 2022
@rosesyrett rosesyrett deleted the implementLogging branch August 23, 2022 09:51
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.

2 participants