Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8444

clarify automation agent log rotation and retention of gzipped logs

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Cloud Manager, Ops Manager
    • Labels:
      None

      Add clarifications to the following:

      https://docs.opsmanager.mongodb.com/current/reference/cluster-configuration/#mongodb-instances
      https://docs.cloudmanager.mongodb.com/reference/cluster-configuration/#mongodb-instances

      Per Cailin and Tim

      • Q: If I have processes.logRotate.sizeThresholdMB=10MB and processes.logRotate.timeThresholdHrs=24 and the log file reaches 10 MB after 6 hours, do we rotate the log immediately?
        A: Yes. Immediately
      • Q: Suppose then in the next 18 hours, the new log file gets to 5MB. Do we rotate again now - because 24 hours has passed since the process started up ? Or do we wait an additional 6 hours (24 hours since the log file was last rotated)
        A: Wait additional 6 hours
      • Q: Finally, the retention of the gzipped logs is controlled by processes.logRotate.percentOfDiskspace, correct?
        A: Correct

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              7 years, 36 weeks, 6 days ago