Skip to content

Use a named logger instead of the root logger #89

@vgiotsas

Description

@vgiotsas

Currently (v. 1.2.1) all the warnings are logged using the root logger which isn't very helpful since the logging messages do not identify which module emitted the warning message, which is especially problematic when using sagan in scripts that include other libraries that also don't use named loggers.

For libraries, the best practice for logging is to use Loggers with name __name__ to ensure no name collisions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions