Remove logging configuration
Leave it to the OS/env to set this up. Fixes #6
This commit is contained in:
		
					parent
					
						
							
								2244b94fd8
							
						
					
				
			
			
				commit
				
					
						f9dbdc730a
					
				
			
		
					 1 changed files with 1 additions and 8 deletions
				
			
		|  | @ -17,13 +17,6 @@ if __name__ == "__main__": | |||
|     arg_parser.add_argument('component_args', nargs='*') | ||||
|     args = arg_parser.parse_args() | ||||
| 
 | ||||
|     logging.basicConfig( | ||||
|         level=logging.DEBUG, | ||||
|         filename=join_path("/", "etc", "ucloud", "log.txt"), | ||||
|         filemode="a", | ||||
|         format="%(name)s %(asctime)s: %(levelname)s - %(message)s", | ||||
|         datefmt="%d-%b-%y %H:%M:%S", | ||||
|     ) | ||||
|     try: | ||||
|         check() | ||||
| 
 | ||||
|  | @ -56,4 +49,4 @@ if __name__ == "__main__": | |||
| 
 | ||||
|     except Exception as e: | ||||
|         logging.exception(e) | ||||
|         print(e) | ||||
|         print(e) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue