Add timestamp to log messages.
This commit is contained in:
		
					parent
					
						
							
								02982ca8be
							
						
					
				
			
			
				commit
				
					
						6acf6f64dc
					
				
			
		
					 4 changed files with 48 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -20,7 +20,8 @@ SYNOPSIS
 | 
			
		|||
                 [-j [JOBS]] [-n] [-o OUT_PATH] [-R [{tar,tgz,tbz2,txz}]]
 | 
			
		||||
                 [-r REMOTE_OUT_DIR] [--remote-copy REMOTE_COPY]
 | 
			
		||||
                 [--remote-exec REMOTE_EXEC] [-I INVENTORY_DIR] [-4] [-6]
 | 
			
		||||
                 [-A] [-a] [-f HOSTFILE] [-p [HOST_MAX]] [-S] [-s] [-t]
 | 
			
		||||
                 [-A] [-a] [-f HOSTFILE] [-P] [-p [HOST_MAX]] [-S] [-s]
 | 
			
		||||
                 [-t]
 | 
			
		||||
                 [host [host ...]] 
 | 
			
		||||
 | 
			
		||||
    cdist install [-h] [-l LOGLEVEL] [-q] [-v] [-b] [-g CONFIG_FILE]
 | 
			
		||||
| 
						 | 
				
			
			@ -28,7 +29,8 @@ SYNOPSIS
 | 
			
		|||
                  [-j [JOBS]] [-n] [-o OUT_PATH] [-R [{tar,tgz,tbz2,txz}]]
 | 
			
		||||
                  [-r REMOTE_OUT_DIR] [--remote-copy REMOTE_COPY]
 | 
			
		||||
                  [--remote-exec REMOTE_EXEC] [-I INVENTORY_DIR] [-4] [-6]
 | 
			
		||||
                  [-A] [-a] [-f HOSTFILE] [-p [HOST_MAX]] [-S] [-s] [-t]
 | 
			
		||||
                  [-A] [-a] [-f HOSTFILE] [-P] [-p [HOST_MAX]] [-S] [-s]
 | 
			
		||||
                  [-t]
 | 
			
		||||
                  [host [host ...]] 
 | 
			
		||||
 | 
			
		||||
    cdist inventory [-h] {add-host,add-tag,del-host,del-tag,list} ...
 | 
			
		||||
| 
						 | 
				
			
			@ -171,6 +173,10 @@ Install command is currently in beta.
 | 
			
		|||
**-o OUT_PATH, --out-dir OUT_PATH**
 | 
			
		||||
    Directory to save cdist output in.
 | 
			
		||||
 | 
			
		||||
**-P, --timestamp**
 | 
			
		||||
    Timestamp log messages with the current local date and time
 | 
			
		||||
    in the format: YYYYMMDDHHMMSS.us.
 | 
			
		||||
 | 
			
		||||
**-p [HOST_MAX], --parallel [HOST_MAX]**
 | 
			
		||||
    Operate on multiple hosts in parallel for specified
 | 
			
		||||
    maximum hosts at a time. Without argument CPU count is
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue