Skip to content

Commit

Permalink
fix: Set loglevel at root logger, not experiment step (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas authored Aug 15, 2024
1 parent 4450ab3 commit a979eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mitosis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def _run_in_notebook(
f"step_{order} = mitosis.unpack('{step.action_ref}')\n"
f"lookup_{order} = mitosis.unpack('{step.lookup_ref}')\n"
f"resolved_args_{order} = {{}}\n"
f"logger = logging.getLogger('{step.action.__module__}')\n"
f"logger = logging.getLogger()\n"
)
+ (
"logger.setLevel(logging.DEBUG)\n"
Expand Down

0 comments on commit a979eb7

Please sign in to comment.