forked from ungleich-public/cdist
		
	use target host as key for logger
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								b8a3cf2f49
							
						
					
				
			
			
				commit
				
					
						dc21405583
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -47,7 +47,7 @@ class Context:
 | 
				
			||||||
        self.exec_path      = exec_path
 | 
					        self.exec_path      = exec_path
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Context logging
 | 
					        # Context logging
 | 
				
			||||||
        self.log = logging.getLogger(__name__)
 | 
					        self.log = logging.getLogger(self.target_host)
 | 
				
			||||||
        self.log.addFilter(self)
 | 
					        self.log.addFilter(self)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Base and Temp Base 
 | 
					        # Base and Temp Base 
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue