Skip to content

Include location info in logging calls #33

@artgoldberg

Description

@artgoldberg

Provide file, function & line number in logging calls. Unfortunately, logging2 doesn't support stacklevel (which logging added in 3.8), which would make this easy.
Submitted issue asking for stacklevel to logging2.

When working, put {source}:{function:s}:{line:d} in logger templates in debug log config files.

Also fix in wc_sim.

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