Skip to content

Container log level for Estimator expects python logging package number and not ENUM string – can’t be a readable pipeline parameter as such #3634

@idanmoradarthas

Description

@idanmoradarthas

Describe the feature you'd like
container_log_level parameter in sagemaker.estimator.Estimator can only be either an int or Integer PipelineVariable. We want it to be a string or String PipelineVariable that is an Enum.

How would this feature be used? Please describe.
container_log_level parameter in sagemaker.estimator.Estimator will be able to receive a string from the following table: https://docs.python.org/3/library/logging.html#levels

Level Numeric value
CRITICAL 50
ERROR 40
WARNING 30
INFO 20
DEBUG 10
NOTSET 0

Describe alternatives you've considered
We just added a long description to the PipelineVariable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions