Skip to content

Custom Level and Properties does not work together #2274

@paulonicolau-rj

Description

@paulonicolau-rj

Description

I´m implementing a log file contains trace of request for a funcionality. When i use absolute path in filename attribute of RoliingFileappender, it works fine. When I use property to declare filename, this is ignored and his key is used.

Configuration

Version: [Log4j 2.22.1]

Operating system: [Windows 10/Amazon Linux 2]

JDK: [Oracle 17]

Logs

[Stacktraces, errors, etc. relevant applications logs.]

Reproduction

[An isolated test reproducing the test.
JUnit tests similar to the ones in the code base are extremely appreciated.]

image
image

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