Skip to content

PatternLayout caller level wrong #2

@nvx

Description

@nvx

When using the PatternLayout placeholders that display information about the caller (%F for example) this module currently shows Logger.pm as being the file where the logging event occurred instead of the correct source file.

I suspect this is due to the caller level not being incremented here: https://github.com/timbunce/Log-Log4perl-Layout-JSON/blob/master/lib/Log/Log4perl/Layout/JSON.pm#L267

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions