[
https://issues.apache.org/jira/browse/LOG4J2-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ralph Goers resolved LOG4J2-2019.
---------------------------------
Resolution: Invalid
Fix Version/s: (was: 2.8.2)
If you are running on a Unix-based system then the application continues to
keep writing to the file. You just can't see it because its directory entry is
gone. On a Windows system you cannot delete the file while it is being written
to.
Closing this as Jira is inappropriate for these kinds of questions. That is
what the user's list is for.
> Where does the LogEvents go when the active log file is deleted?
> ----------------------------------------------------------------
>
> Key: LOG4J2-2019
> URL: https://issues.apache.org/jira/browse/LOG4J2-2019
> Project: Log4j 2
> Issue Type: Question
> Components: Appenders, Core
> Affects Versions: 2.8.2
> Environment: Server - Apache Tomcat - 8
> OS - CentOS7
> Reporter: Deepak Khobragade
> Priority: Critical
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> I am using Log4j2 for logging and I've observed that when the Log4j2 is
> actively writing to a log file and if we delete that file, Log4j2 does not
> create a new file and also does not throw any errors. I searched that if the
> LogEvent is sent to System.err() in catalina.out as well but could not find
> the LogEvent there as well.
> Can someone please help me find out where exactly are these events sent to in
> the above situation?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)