Skip to content

Conversation

@plypaul
Copy link
Contributor

@plypaul plypaul commented Nov 10, 2025

The mf CLI was not logging INFO messages to the log file. This was traced to an imported module setting up the log configuration and logging.basicConfig becoming a no-op if handlers were already added to the root logger.

This PR updates the CLI's logging setup method to use logging.basicConfig(..., force=True) to address the no-op case and cleans up how the stream handler and the log file handler are set up.

A test is added separately #1934 due to a required PR in the middle.

@plypaul plypaul force-pushed the p/fix_cli_logging__01 branch from 56e1854 to e02c98c Compare November 10, 2025 18:38
@plypaul plypaul marked this pull request as ready for review November 10, 2025 18:45
@plypaul plypaul requested a review from a team as a code owner November 10, 2025 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants