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

Log4J log rotation failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.11.0
    • 2.11.0
    • Appenders
    • None
    • Windows + Jboss server

      Log4j 2.11.0, Log file rotation

       

    Description

      In Log4J 2.11.0, log file rotation handling is failing.

      As a result, single file keeps growing in size and ends up consuming all the space on the drive.

      All previously rotated files will be deleted and only one file will be kept by Log4j which will keep growing in size endlessly.

      Attaching the proc-monitor file for the log4j log files.

      java path:

      C:\EMC\AppSync\jre\bin

      log file path:

      C:\EMC\AppSync\jboss\logs\

      Primary log file: server.log

      Rotated files (in latest to oldest order): server.log.1, server.log.2, server.log.3, .... etc.

      Attachments

        1. logmonitor.rar
          47.33 MB
          Shivasharan D N

        Activity

          People

            Unassigned Unassigned
            narays12 Shivasharan D N
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: