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

LCFS - Improve Production Logs #2096

Open
dhaselhan opened this issue Feb 25, 2025 · 1 comment
Open

LCFS - Improve Production Logs #2096

dhaselhan opened this issue Feb 25, 2025 · 1 comment
Labels
Spike Research needed prior to development

Comments

@dhaselhan
Copy link
Collaborator

dhaselhan commented Feb 25, 2025

The current prod logs are hard to read and contain lots of information that is not helpful for debugging.

  1. Prevent logging of 200/201s for each endpoint
  2. Add color coding back, it does work in Openshift
  3. Figure out why lines such as: logger.debug("Report has changed, updating summary"), do not get logged at DEBUG level.
  4. Add a date / time so we know when the errors occurred
@airinggov airinggov added the Spike Research needed prior to development label Feb 25, 2025
@dhaselhan
Copy link
Collaborator Author

Looks like some are using: logger = logging.getLogger(name) and some are using logger = structlog.get_logger(name)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Spike Research needed prior to development
Projects
None yet
Development

No branches or pull requests

2 participants