puppetlabs / bolt-vanagon

Apache License 2.0
2 stars 30 forks source link

(BOLT-903) Add logrotate config for pe-bolt-server #63

Closed MikaelSmith closed 6 years ago

MikaelSmith commented 6 years ago

Adds log rotation with compression via logrotate. Relies on Puma's support for HUP when using stdout_redirect (as bolt-server does); see https://github.com/puma/puma/blob/v3.12.0/docs/signals.md.

Rotates daily, keeping a 30 day record consistent with pxp-agent.

lucywyman commented 6 years ago

LGTM