python/qemu/machine: remove logging configuration
Python 3.5 and above do not print a warning when logging is not configured. As a library, it's best practice to leave logging configuration to the client executable. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200514055403.18902-22-jsnow@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
This commit is contained in:
		
							parent
							
								
									e0e925a611
								
							
						
					
					
						commit
						053774bdec
					
				| @ -119,9 +119,6 @@ class QEMUMachine(object): | ||||
|         self._console_socket = None | ||||
|         self._remove_files = [] | ||||
| 
 | ||||
|         # just in case logging wasn't configured by the main script: | ||||
|         logging.basicConfig() | ||||
| 
 | ||||
|     def __enter__(self): | ||||
|         return self | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 John Snow
						John Snow