Skip to content

Add rolling policy properties for log4j2 configuration #46468

@hannah23280

Description

@hannah23280

Hi,

Using logging.logback.rollingpolicy.max-file-size as an example, I would like to request such configuration to support log4j2 as well. Cos i don't get it why we can configure for logback in application.properties, but not for log4j2?

other configurations to consider to apply to log4j include:
logging.logback.rollingpolicy.clean-history-on-start
logging.logback.rollingpolicy.max-history=
logging.logback.rollingpolicy.total-size-cap

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions