Skip to content

Don't setLevel on the library logger #228

Description

@derek73

util.py:7 calls log.setLevel(logging.ERROR) on the HumanName logger. Libraries should attach a NullHandler (already done) and leave the level at NOTSET so applications control verbosity — today, enabling DEBUG at the root logger still shows nothing from the parser until you discover this override and reset the level manually.

Fix: remove the setLevel call. __main__.py keeps its explicit CLI-side logging configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions