Posilani chyb emailem (zatim jen gaventovi)
This commit is contained in:
		
							parent
							
								
									1498a461a0
								
							
						
					
					
						commit
						99bb7da096
					
				
					 1 changed files with 19 additions and 15 deletions
				
			
		|  | @ -33,19 +33,23 @@ DATABASES = { | |||
| 
 | ||||
| import os | ||||
| 
 | ||||
| LOGGING = { | ||||
|     'version': 1, | ||||
|     'disable_existing_loggers': True, | ||||
|     'handlers': { | ||||
|         'console': { | ||||
|             'class': 'logging.StreamHandler', | ||||
|         }, | ||||
|     }, | ||||
|     'loggers': { | ||||
|         'django': { | ||||
|             'handlers': ['console'], | ||||
|             'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'), | ||||
|         }, | ||||
|     }, | ||||
| } | ||||
| SERVER_EMAIL = 'prod-errors@mam.mff.cuni.cz' | ||||
| ADMINS = ['gavento@ucw.cz', ] | ||||
| 
 | ||||
| # LOGGING = { | ||||
| #     'version': 1, | ||||
| #     'disable_existing_loggers': True, | ||||
| #     'handlers': { | ||||
| #         'console': { | ||||
| #             'class': 'logging.StreamHandler', | ||||
| #         }, | ||||
| #     }, | ||||
| #     'loggers': { | ||||
| #         'django': { | ||||
| #             'handlers': ['console'], | ||||
| #             'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'), | ||||
| #         }, | ||||
| #     }, | ||||
| # } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Tomas Gavenciak
						Tomas Gavenciak