Skip to content

Add logging support for better observability #64232

@goransh-buh

Description

@goransh-buh

Feature Request

Summary

The project would benefit from structured logging to make it easier to debug issues in production.

Motivation

Currently it can be difficult to understand what the application is doing at runtime without adding print statements. Proper logging would:

  • Allow users to control verbosity with log levels (DEBUG, INFO, WARNING, ERROR)
  • Make it easier to integrate with log aggregation systems
  • Help diagnose issues in production without code changes

Proposed Implementation

import logging

log = logging.getLogger(__name__)

def my_function():
    log.debug("Starting my_function")
    # ... 
    log.info("my_function completed successfully")

Impact

Low risk change with high value for users running this in production environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions