Skip to content

Python logging library not importing in metaflow pipeline #2558

@aarthi-subramanian

Description

@aarthi-subramanian

Context-

  • Hi! For logging, usually python's standard library import logging and then can run logging.info('Pipeline starting!') etc.
  • This ^ works in .py files . But if I try this ^ in metaflow steps, it doesnt work
  • Also couldnt find a metaflow built-in logging function

Issues-

  • Why doesnt python's logging library work with metaflow steps?
  • What is the best, cleanest logging framework to use with metaflow? (I would really really like to avoid print statements 🙏 )

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