Advertisement
Guest User

Untitled

a guest
Nov 26th, 2017
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. # logrotate -d /etc/logrotate.conf
  2. rotating pattern: /mylogs/log 1048576 bytes (10 rotations)
  3. empty log files are rotated, old logs are removed
  4. considering log /mylogs/log
  5. log needs rotating
  6. rotating log /mylogs/log, log->rotateCount is 10
  7. dateext suffix '-20171126'
  8. glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
  9. glob finding old rotated logs failed
  10. copying /mylogs/log to /mylogs/log-20171126
  11. truncating /mylogs/log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement