Skip to content

Do not suppress logging information from Python code #3038

Open
@jdavidheiser

Description

@jdavidheiser

Describe the issue

Using the experimental Python interface, I would like to be able to show logs for my Python code, without showing logs for all of the internals of the CLI code. Would it be possible to stop suppressing stderr / stdout from the Python code when running databricks bundle commands in the CLI?

Steps to reproduce the behavior

Add a print or logger.log call to Python. It will only be shown when running the Databricks CLI with --debug, which is very noisy because it shows all the CLI log info too, and there's no way to set log level like you can in Python.

Expected Behavior

I would like to be able to see Python logs.

Actual Behavior

Some flag to enable Python log output.

OS and CLI version

Any

Is this a regression?

No

Debug Logs

NA

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions