`logging.basicConfig` call in `mcs.py` configures the `root` logger, despite the module already having one
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
Research direction
The problem is the logging.basicConfig call inside the MCS class in src/lomap/mcs.py (around line 655), which configures the root logger. Look at the module-level logger that the file already defines and check how the class's messages are emitted. Done means the class logs through that module logger, the root logger gets no new handler, and the existing tests in the repository still pass.
Written by the indexing model from the issue text.
Description
This line in mcs.py appears to change the root logger, adding a handler for the INFO level. This has the downstream impact that all messages sent to the root logger at this level and below are output in e.g. Jupyter once an MCS instance is initialized, creating a lot of unnecessary noise from any package that logs.
Instead, the MCS class should consider using the logger already initialized in the module.
- Dominant language
- Python
- Stars
- 45
- Forks
- 15
- Avg merge
- 18h 11m
- Merged PRs (30d)
- 4
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenFreeEnergy/Lomap
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
OpenFreeEnergy/Lomap#127 ·
-
Ring-related LOMAP rules: origin, behaviour and inconsistenciesPossibly taken @jthorton claimed this 17 days ago. Open
OpenFreeEnergy/Lomap#178 · 2 assignees ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
OpenFreeEnergy/Lomap#167 ·
-
Deprecate DBMoleculesMay be free again @IAlibay claimed this 156 days ago, and no pull request is open. Open
OpenFreeEnergy/Lomap#149 · 8 comments · 1 assignee ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
OpenFreeEnergy/Lomap#144 ·
All issues in OpenFreeEnergy/Lomap
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
gorakhargosh/watchdog#1462 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
openwisp/openwisp-monitoring#889 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
roman-corgi/corgisim#327 ·
Maintainers usually reply within 2 days
-
agent:WSL bug code-review linux pri:medium sev:low tooling
Difficulty 2/5 Half a day Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
[Bug]: opencode_go chat route drops reasoning_effort (even 'none'), while the same endpoint honors it via custom_llm_provider=openaiPossibly taken @arvindkumar-ship-it claimed this today. Openllm translation
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
BerriAI/litellm#51871 · 1 comment ·
Maintainers usually reply within 1 day