Many of the large files are included in the tree and the script now leverages a checked out swift tree to provide those files so that users don't have to cut/paste text from the document. The contents of those files are still included in the document for reference. Updated to add sudo in appropriate places so that the entire script can be run as the user instead of as root. We also simplify the steps needed to get resetswift script working (don't need to edit the user name). Change-Id: Ie5b5a815870edcc205d273e35e0bbd2426d3b002 Signed-off-by: Peter Portante <peter.portante@redhat.com>
		
			
				
	
	
		
			31 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# Uncomment the following to have a log containing all logs together
 | 
						|
#local1,local2,local3,local4,local5.*   /var/log/swift/all.log
 | 
						|
 | 
						|
# Uncomment the following to have hourly proxy logs for stats processing
 | 
						|
#$template HourlyProxyLog,"/var/log/swift/hourly/%$YEAR%%$MONTH%%$DAY%%$HOUR%"
 | 
						|
#local1.*;local1.!notice ?HourlyProxyLog
 | 
						|
 | 
						|
local1.*;local1.!notice /var/log/swift/proxy.log
 | 
						|
local1.notice           /var/log/swift/proxy.error
 | 
						|
local1.*                ~
 | 
						|
 | 
						|
local2.*;local2.!notice /var/log/swift/storage1.log
 | 
						|
local2.notice           /var/log/swift/storage1.error
 | 
						|
local2.*                ~
 | 
						|
 | 
						|
local3.*;local3.!notice /var/log/swift/storage2.log
 | 
						|
local3.notice           /var/log/swift/storage2.error
 | 
						|
local3.*                ~
 | 
						|
 | 
						|
local4.*;local4.!notice /var/log/swift/storage3.log
 | 
						|
local4.notice           /var/log/swift/storage3.error
 | 
						|
local4.*                ~
 | 
						|
 | 
						|
local5.*;local5.!notice /var/log/swift/storage4.log
 | 
						|
local5.notice           /var/log/swift/storage4.error
 | 
						|
local5.*                ~
 | 
						|
 | 
						|
local6.*;local6.!notice /var/log/swift/expirer.log
 | 
						|
local6.notice           /var/log/swift/expirer.error
 | 
						|
local6.*                ~
 |