mirror of
				https://github.com/KevinMidboe/cloudflare-ddns.git
				synced 2025-10-29 17:40:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			289 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			289 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import logging
 | |
| import sys
 | |
| 
 | |
| stdout_handler = logging.StreamHandler(stream=sys.stdout)
 | |
| handlers = [stdout_handler]
 | |
| 
 | |
| logging.basicConfig(
 | |
|     level=logging.DEBUG, 
 | |
|     format='[%(asctime)s] %(levelname)s\t %(message)s',
 | |
|     handlers=handlers
 | |
| )
 | |
| 
 | |
| logger = logging.getLogger('cloudflare-ddns')
 | |
| 
 |