File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
pythonkr_backend/pythonkr_backend/settings Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 27
27
BAKERY_MULTISITE = True
28
28
BUILD_DIR = os .path .join ("/home/pk/bakery_static" , "build" )
29
29
30
-
31
- LOGGING_CONFIG = None
32
30
# Django logging to file with rotation
33
31
LOGGING = {
34
32
'version' : 1 ,
64
62
IS_PRODUCTION_SERVER = os .environ .get ('IS_WSGI_ENVIRONMENT' , 'False' ) == 'True'
65
63
66
64
# logfire settings
67
- if IS_PRODUCTION_SERVER == 'True' :
68
- logfire .configure (environment = 'prod' , service_name = "web" , service_version = sha_service_version )
69
- logfire .instrument_system_metrics ()
70
- logfire .instrument_django ()
71
- logfire .instrument_psycopg ('psycopg' )
65
+ #if IS_PRODUCTION_SERVER == 'True':
72
66
67
+ logfire .configure (environment = 'prod' , service_name = "web" , service_version = sha_service_version )
68
+ logfire .instrument_system_metrics ()
69
+ logfire .instrument_django ()
70
+ logfire .instrument_psycopg ('psycopg' )
You can’t perform that action at this time.
0 commit comments