Skip to content

logger names bug #268

@keara-soloway

Description

@keara-soloway

In this pipeline:

- common.NexusReader:
    filename: data.nxs
    nxpath: structured_data
- common.PrintProcessor

The logger for the common.NexusReader somehow ends up named common.PrintProcessor which leads to confusing log statements like

...
2026-04-06 08:29:39: Pipeline            : INFO: Calling "execute" on NexusReader
2026-04-06 08:29:39: common.PrintProcessor: DEBUG: Executing "read" with schema "None" and {}
2026-04-06 08:29:39: common.PrintProcessor: INFO: Executing "read"
2026-04-06 08:29:39: common.PrintProcessor: INFO: Finished "<bound method NexusReader.read of NexusReader(root=PosixPath('<BLAH>'), inputdir=PosixPath('/<BLAH>'), outputdir=PosixPath('<BLAH>'), interactive=False, log_level='DEBUG', logger=<Logger common.PrintProcessor (DEBUG)>, name='NexusReader', schema_=None, filename='<BLAH>/data.nxs', nxpath='structured_data', idx=None, mode='r', nxmemory=None)>" in 0 seconds
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpipeline

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions