Uploaded image for project: 'Flume (READ-ONLY)'
  1. Flume (READ-ONLY)
  2. FLUME-631

Log rotation overwrites old logs on service stop

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: v0.9.3
    • Fix Version/s: None
    • Component/s: Node
    • Labels:
      None

      Description

      It seems that when stopping the flume-node service the log file is automatically rotated. Occasionally this will result in another log file getting overwritten, possibly corresponding to the date when the service was started. Notice:

      1. head flume-flume-node-....log.2011-05-16
        2011-05-17 00:00:00,665 INFO com.cloudera.flume.handlers.endtoend.AckChecksumChecker

      In this case, I believe the service was started on 5/16. I lost that original log file, so I cannot confirm this

      My temp workaround is to gzip logfiles after they have been automatically rotated, via a cronjob.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              csarva Chetan Sarva
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: