Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3035

Refresh the Stale reference of Log File once the physical file is deleted by external process

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.13.3
    • None
    • Plugins
    • None
    • Patch

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nishitghosh Nishit k Ghosh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 12h
                12h
                Remaining:
                Remaining Estimate - 12h
                12h
                Logged:
                Time Spent - Not Specified
                Not Specified