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

    • Task
    • Status: Ready for Engineering
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:

                Zendesk Support