Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-100524

Log files are overwritten after you have 7 log files for a given day

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.9.2, Minecraft 1.9.3, Minecraft 1.9.4, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w36a, Minecraft 16w38a, Minecraft 16w39a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.13.1
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Community Consensus
    • Category:
      (Unassigned)

      Description

      The log files are automatically rotated each time you restart the server. But after you already have 7 log files for a given day, if you then restart the server, then it will not create a DATE-8.log.gz, it will instead save it as DATE-7.log.gz, and then move DATE-7.log.gz into DATE-6.log.gz, and DATE-6.log.gz into DATE-5.log.gz, and so on, in the end resulting in DATE-1.log.gz being deleted.

      Blindly deleting log files is problematic, and if the amount of log files is to be limited, it should at least be made into an option (allowing for unlimited log files as well.)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Yukar9 Yukar9
            • Votes:
              6 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: