[PCP-130] Add pxp-agent log rotation for Solaris 10 and 11 Created: 2015/10/26  Updated: 2018/05/10

Status: Ready for Engineering
Project: Puppet Communications Protocol
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: Geoff Nichols Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: logrotate, service, solaris
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relates to PCP-6 Rotate pxp-agent log files on *nix Closed
Story Points: 3


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.

Comment by Alessandro Parisi [ 2016/02/24 ]

Any plans for scheduling this task after Burnside Geoff Nichols?

Generated at Mon Jan 20 17:52:23 PST 2020 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.