Skip to content

[UX] Configure Python Logging Properly #500

Closed

Description

@jon-chuang

I do not see a configure_logger method defined anywhere as promised in #472 and further more, naively doing:

logger = logging.getLogger(__name__)
logger.info("Hello")

yields no logs

The logging story is additionally, still a bit of a mess:
There is


and hardcoded configure:
logger.setLevel(logging.INFO)

I believe that the logging story still needs to be cleaned up properly.

Also, perhaps the method should be called configure_dynamo_logging to properly namespace given the myriad other loggers (vllm, bentoml etc).

Originally posted by @jon-chuang in #472 (comment)

Activity

  1. ishandhanani commented on Apr 4, 2025

    @ishandhanani
    Contributor

    See #520

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions