remove HTTP logging as it confuses users
might be worth to log it to a file, if we ever need to debug it
This commit is contained in:
		
							parent
							
								
									aa0d9fa7fc
								
							
						
					
					
						commit
						cd3c2f3c84
					
				
							
								
								
									
										10
									
								
								WebUI.py
								
								
								
								
							
							
						
						
									
										10
									
								
								WebUI.py
								
								
								
								
							|  | @ -119,7 +119,15 @@ class WaitingForUiException(Exception): | |||
| 
 | ||||
| webthread = None | ||||
| PORT = 5050 | ||||
| Handler = partial(http.server.SimpleHTTPRequestHandler, | ||||
| class RequestHandler(http.server.SimpleHTTPRequestHandler): | ||||
|     def log_request(self, code='-', size='-'): | ||||
|         pass | ||||
|     def log_message(self, format, *args): | ||||
|         pass | ||||
|     def log_date_time_string(self): | ||||
|         pass | ||||
| 
 | ||||
| Handler = partial(RequestHandler, | ||||
|                   directory=Utils.local_path(os.path.join("data", "web", "public"))) | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue