forked from ungleich-public/cdist
		
	Add -l/--log-level option. Honor __cdist_loglevel env var. (#572)
Add -l/--log-level option, __cdist_loglevel -> __cdist_log_level; honor __cdist_log_level env var
This commit is contained in:
		
					parent
					
						
							
								f08ac264a0
							
						
					
				
			
			
				commit
				
					
						3454da076f
					
				
			
		
					 23 changed files with 152 additions and 69 deletions
				
			
		| 
						 | 
				
			
			@ -198,10 +198,11 @@ Environment variables (for reading)
 | 
			
		|||
-----------------------------------
 | 
			
		||||
The following environment variables are exported by cdist:
 | 
			
		||||
 | 
			
		||||
__cdist_loglevel
 | 
			
		||||
__cdist_log_level
 | 
			
		||||
    String value of cdist log level. One of OFF, ERROR, WARNING, INFO,
 | 
			
		||||
    VERBOSE, DEBUG and TRACE.
 | 
			
		||||
    Available for: initial manifest, type manifest, type gencode.
 | 
			
		||||
    Available for: initial manifest, explorer, type manifest, type explorer,
 | 
			
		||||
    type gencode.
 | 
			
		||||
__explorer
 | 
			
		||||
    Directory that contains all global explorers.
 | 
			
		||||
    Available for: initial manifest, explorer, type explorer, shell.
 | 
			
		||||
| 
						 | 
				
			
			@ -264,6 +265,13 @@ The following environment variables influence the behaviour of cdist:
 | 
			
		|||
require
 | 
			
		||||
    Setup dependencies between objects (see \`cdist manifest <cdist-manifest.html>\`_).
 | 
			
		||||
 | 
			
		||||
__cdist_log_level
 | 
			
		||||
    String value of cdist log level. One of OFF, ERROR, WARNING, INFO,
 | 
			
		||||
    VERBOSE, DEBUG and TRACE. If set cdist will set this log level in
 | 
			
		||||
    accordance with configuration rules. If cdist invokation is used
 | 
			
		||||
    in types then nested cdist will honor this specified log level if
 | 
			
		||||
    not specified otherwise while invoking it.
 | 
			
		||||
 | 
			
		||||
CDIST_PATH
 | 
			
		||||
    Colon delimited list of config directories.
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue