NOAA-GSL / VxIngest

Other
2 stars 0 forks source link

Re-evaluate log levels #274

Open ian-noaa opened 9 months ago

ian-noaa commented 9 months ago

Our logs are fairly verbose, re-evaluate which log levels to use for which messages. Our logger has the following levels available (also below) and currently logs at the INFO level unless an env variable is set to log DEBUG messages.

We should probably demote a good number of log messages from Info to Debug.

Level Description
logging.DEBUG Detailed information, typically only of interest to a developer trying to diagnose a problem.
logging.INFO Confirmation that things are working as expected.
logging.WARNING An indication that something unexpected happened, or that a problem might occur in the near future (e.g. ‘disk space low’). The software is still working as expected.
logging.ERROR Due to a more serious problem, the software has not been able to perform some function.
logging.CRITICAL A serious error, indicating that the program itself may be unable to continue running.
github-actions[bot] commented 6 months ago

This issue is stale because it has been open 90 days with no activity.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 90 days with no activity.

ian-noaa commented 1 month ago

It may also make sense to evaluate switching from the stdlib's logging library to loguru to eliminate a lot of complexity in our log setup.