-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bm_monitor.py): add logging and graceful shutdown handling
Introduce logging to replace print statements, providing better control over log levels and output formatting. This change enhances the ability to debug and monitor the application by logging configuration details and key events. Additionally, implement a signal handler to ensure graceful shutdown on receiving SIGINT or SIGTERM, improving the application's robustness and user experience.
- Loading branch information
Showing
1 changed file
with
73 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters