Filip Pytloun | d5d7cc4 | 2016-05-16 10:56:18 +0200 | [diff] [blame^] | 1 | ====================== |
| 2 | Salt Logrotate Formula |
| 3 | ====================== |
| 4 | |
| 5 | Logrotate is designed to ease administration of systems that generate |
| 6 | large numbers of log files. It allows automatic rotation, compression, |
| 7 | removal, and mailing of log files. Each log file may be handled daily, |
| 8 | weekly, monthly, or when it grows too large. |
| 9 | |
| 10 | Example pillar |
| 11 | ============== |
| 12 | |
| 13 | Configuration for syslog from Ubuntu 14.04 (trusty): |
| 14 | |
| 15 | .. literalinclude:: tests/pillar/service.sls |
| 16 | :language: yaml |
| 17 | |
| 18 | Reference |
| 19 | ========= |
| 20 | |
| 21 | - http://www.linuxcommand.org/man_pages/logrotate8.html |