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.

Activity

  1. added this to the v1.3.0 milestone on Jul 5, 2026
  2. added a commit that references this issue on Jul 5, 2026
    89a6877
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions