Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2497 As an MPF user I want a consistent way to override controls without modifying any of the files distribued with the MPF
  3. CFE-2538

Adjust rotation size threshold and maximum number of rotations to keep in cfengine_internal_rotate_logs

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.12.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1

      Description

      In this snippet 1M and 10 should be reference variables in def.

      Rotate CFEngine log files" 
      handle => "cfe_internal_log_rotation_rotate_log_files", 
      usebundle => logrotate( @(def.cfe_log_files), 1M, 10 ), 
      comment => "To keep the disk from getting to full we want to rotate 
      log files when they reach 1MB in size. So that we have 
      some history , we keep 10 versions.";
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10042 Nick Anderson
                Reporter:
                a10042 Nick Anderson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel