Guest User

Untitled

a guest
Jan 10th, 2011
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.53 KB | None | 0 0
  1. # see "man logrotate" for details
  2. # rotate log files weekly
  3. weekly
  4.  
  5. # keep 4 weeks worth of backlogs
  6. rotate 4
  7.  
  8. # create new (empty) log files after rotating old ones
  9. create
  10.  
  11. # uncomment this if you want your log files compressed
  12. #compress
  13.  
  14. # RPM packages drop log rotation information into this directory
  15. include /etc/logrotate.d
  16.  
  17. # no packages own wtmp -- we'll rotate them here
  18. /var/log/wtmp {
  19.     monthly
  20.     minsize 1M
  21.     create 0664 root utmp
  22.     rotate 1
  23. }
  24.  
  25. # system-specific logs may be also be configured here.
Add Comment
Please, Sign In to add comment