[
https://issues.apache.org/jira/browse/LOG4J2-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17603295#comment-17603295
]
Nishit k Ghosh commented on LOG4J2-3035:
----------------------------------------
Hi,
I have the fix ready and tested. However, as per my employer’s policy I am
not allowed to disclose the design or share the code. Please feel free to
contribute into the codebase for fixing the issue.
Regards,
Nishit k Ghosh
On Mon, Sep 12, 2022 at 8:04 PM Ravil Zakirov (Jira) <[email protected]>
> Refresh the Stale reference of Log File once the physical file is deleted by
> external process
> ---------------------------------------------------------------------------------------------
>
> Key: LOG4J2-3035
> URL: https://issues.apache.org/jira/browse/LOG4J2-3035
> Project: Log4j 2
> Issue Type: Improvement
> Components: Plugins
> Affects Versions: 2.13.3
> Reporter: Nishit k Ghosh
> Priority: Major
> Fix For: 2.16.0
>
> Original Estimate: 12h
> Remaining Estimate: 12h
>
> Let's assume that an external process deletes the physical log file while a
> logger is being used by an application.
> In that case the application and the Logger would not know that the physical
> file doesn't exist. In memory the outputstream reference will remain active
> and logger will keep on writing into nowhere. Unless the application or
> container is redeployed / restarted.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)