Skip to content

use module logger in copy_with_port_portname to avoid conflict#282

Open
avinxshKD wants to merge 1 commit intoControlCore-Project:devfrom
avinxshKD:fix-logging-basicconfig-conflicts
Open

use module logger in copy_with_port_portname to avoid conflict#282
avinxshKD wants to merge 1 commit intoControlCore-Project:devfrom
avinxshKD:fix-logging-basicconfig-conflicts

Conversation

@avinxshKD
Copy link

Moved logging.basicConfig() from module level to the if name == "main": block in copy_with_port_portname.py. When mkconcore.py imports copy_with_port_portname, the config was being called during import and blocking mkconcore's own basicConfig, causing the logging format to be wrong depending on import order.

Fixes #278

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant