Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support logging to log file or stdout #137

Merged
merged 8 commits into from
Dec 11, 2024
Merged

Conversation

emlowe
Copy link
Contributor

@emlowe emlowe commented Nov 8, 2023

Fix up logging for ClimateToken so that the ClimateToken logging will go to the logfile or stdout as configured.
stdout is configured by setting the LOG_PATH: stdout in the config file

Note that uvicorn application logging is unchanged and it will log to stderr/stdout so there remains some things that don't get logged to the log file if configured. This will be fixed in a future update

@TheLastCicada TheLastCicada merged commit 371e6f6 into develop Dec 11, 2024
22 of 28 checks passed
@TheLastCicada TheLastCicada deleted the EL.logging branch December 11, 2024 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants