Changes between Version 2 and Version 3 of Logrotate
- Timestamp:
- 04/04/22 07:27:45 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Logrotate
v2 v3 25 25 [root@Mosh logrotate.d]# logrotate -f /etc/logrotate.d/actdaslog --state /tmp/logrotate-state --verbose 26 26 }}} 27 After run we should see 28 {{{ 29 #!sh 30 [krit@Mosh ActDasLog]$ tree /tmp/ActDasLog/ 31 /tmp/ActDasLog/ 32 ├── mosq_feed_actDas_11_firmware.log 33 ├── mosq_feed_actDas_11_firmware.log.1 34 ├── mosq_feed_actDas_11_firmware.log.2.gz 35 ├── mosq_feed_actDas_11_firmware.log.3.gz 36 └── mosq_feed_actDas_11_firmware.log.4.gz 37 38 0 directories, 5 files 39 [krit@Mosh ActDasLog]$ 40 41 }}}