Skip to content

Introduce Advanced Logger with Configurable Log Levels #6

@Smengerl

Description

@Smengerl

Currently, the project uses basic print statements for logging, which provides limited control and lacks standardized severity levels. To enhance debugging, monitoring, and maintainability, a more capable logging system should be introduced.

Requested Change:

  • Replace print statements with a logging library (e.g., Python’s built-in logging module).
  • Support multiple log levels (DEBUG, INFO, WARNING, ERROR, CRITICAL).
  • Configure log formatting and output destinations (stdout, file, etc.)
  • Make log level configurable via environment variables or configurable settings.
  • Update relevant documentation to reflect logger adoption.

Why:

  • Print statements do not support severity filtering or external analysis tools.
  • A robust logger enables better troubleshooting and automated monitoring for production deployments.

Real-time face and pose tracking with a webcam, controlling a microcontroller to follow detected targets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions