Skip to content

Commit

Permalink
Fixed logger import path for DEBUG notebook (#792)
Browse files Browse the repository at this point in the history
## Changes

Fixed import in generated DEBUG.py notebook to work with new package
layout.

Fixes #790 

### Tests

- [x] manually tested
  • Loading branch information
larsgeorge-db authored Jan 16, 2024
1 parent 9c425e9 commit 000db2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/databricks/labs/ucx/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@
import logging
from pathlib import Path
from databricks.labs.blueprint.logger import install_logger
from databricks.labs.ucx.__about__ import __version__
from databricks.labs.ucx.config import WorkspaceConfig
from databricks.labs.ucx.framework import logger
from databricks.sdk import WorkspaceClient
logger._install()
install_logger()
logging.getLogger("databricks").setLevel("DEBUG")
cfg = WorkspaceConfig.from_file(Path("/Workspace{config_file}"))
Expand Down

0 comments on commit 000db2e

Please sign in to comment.