Uploaded image for project: 'Puppet Communications Protocol'
  1. Puppet Communications Protocol
  2. PCP-130

Add pxp-agent log rotation for Solaris 10 and 11

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Ready for Engineering
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Template:
    • Story Points:
      3

      Description

      It looks like /etc/logadm.conf entries can be managed via `logadm` commands.

      To add an /etc/logadm.conf entry:

      logadm -w /var/log/puppetlabs/pxp-agent/pxp-agent.log -C 30 -p 1d -a 'pkill -USR2 pxp-agent; true'
      

      To remove an /etc/logadm.conf entry:

      logadm -r /var/log/puppetlabs/pxp-agent/pxp-agent.log
      

      There may be some prerequisite Vanagon work needed for this.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              geoff.nichols Geoff Nichols
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support