Skip to content

Incorrect logger initialization in WeText processor.py #311

@coezbek

Description

@coezbek

During construction of the Processor, the logging level is modified. This makes it impossible for users to disable the logger.

logger.setLevel(logging.INFO)

  • You should only set a log level when your library is imported.
  • You should not use different logger for instances of your classes, but use per package loggers (if you need more than a single global logger for the entire project).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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