[
https://issues.apache.org/jira/browse/LOG4J2-3389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17611541#comment-17611541
]
Brian Antao edited comment on LOG4J2-3389 at 9/30/22 12:06 PM:
---------------------------------------------------------------
Hi [~rgoers] –
What is the status of implementing the OnShutdownRolloverPolicy /
OnShutdownTriggeringPolicy ? any further updates.
was (Author: JIRAUSER284636):
Hi [~rgoers] --
What is the status of implementing the OnShutdownRolloverPolicy ? any
further updates.
> Log42j: Provide the capability to Rollover all appenders in an application on
> Shutdown
> --------------------------------------------------------------------------------------
>
> Key: LOG4J2-3389
> URL: https://issues.apache.org/jira/browse/LOG4J2-3389
> Project: Log4j 2
> Issue Type: Improvement
> Components: Appenders, Configuration
> Affects Versions: 2.17.1
> Environment: All, provide the feature as an implementation that can
> be defined in the Log4j2 Configuration
> Reporter: Brian Antao
> Assignee: Ralph Goers
> Priority: Major
> Labels: Configuration, config.xml, log4j2
>
> I have seen many issues raised in StackOverflow for different variations of
> finding a good solution to rolling over of all appenders in an application
> on Shutdown. But no clear and best solution emerges.
> Hence raising this issue which we in our organisation also have a great and
> urgent Need for.
> What we need is:
> A Rollover strategy that we can include in all appenders in the Log4j2
> Configuration, in the Appender definition to properly rollover the associated
> log files on Shutdown.
> The full rollover functionality needs to be defined fully in the
> Configuration only and no need for Java Code to be written to call the
> LogManager.Shutdown() method.
> This feature would be a tremendous boost particularly managing log files
> associated with multiple pods in Kubernetes deployed applications.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)