mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			508 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			508 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# rotate log files daily
 | 
						|
daily
 | 
						|
# keep 3 days worth
 | 
						|
rotate 3
 | 
						|
# create new (empty) log files after rotating old ones
 | 
						|
create
 | 
						|
# use date as a suffix of the rotated file
 | 
						|
#dateext
 | 
						|
# max size 50M
 | 
						|
size 50M
 | 
						|
compress
 | 
						|
# RPM packages drop log rotation information into this directory
 | 
						|
include /etc/logrotate.d
 | 
						|
# no packages own wtmp and btmp -- we'll rotate them here
 | 
						|
/var/log/wtmp {
 | 
						|
    monthly
 | 
						|
    create 0664 root utmp
 | 
						|
    rotate 1
 | 
						|
}
 | 
						|
/var/log/btmp {
 | 
						|
    missingok
 | 
						|
    monthly
 | 
						|
    create 0600 root utmp
 | 
						|
    rotate 1
 | 
						|
}
 | 
						|
 |