diff --git a/src/urban/custom_settings.py b/src/urban/custom_settings.py index 5612151..0ed6c66 100644 --- a/src/urban/custom_settings.py +++ b/src/urban/custom_settings.py @@ -28,21 +28,8 @@ dsn=SENTRY_DSN, integrations=integrations, environment=os.getenv("SENTRY_ENVIRONMENT", "production"), - traces_sample_rate=float(os.getenv("SENTRY_TRACES_SAMPLE_RATE", 0.1)), + traces_sample_rate=float(os.getenv("SENTRY_TRACES_SAMPLE_RATE", 1.0)), default_integrations=False, ) - LOGGING["loggers"] = { - "django.db.backends": { - "level": "ERROR", - "handlers": ["console"], - "propagate": False, - }, - # Errors logged by the SDK itself - "sentry_sdk": {"level": "ERROR", "handlers": ["console"], "propagate": False}, - "django.security.DisallowedHost": { - "level": "ERROR", - "handlers": ["console"], - "propagate": False, - }, - } + LOGGING["loggers"]["sentry_sdk"] = {"level": "ERROR", "handlers": ["console"], "propagate": False} diff --git a/src/uwsgi.ini b/src/uwsgi.ini index b74d245..06210ec 100644 --- a/src/uwsgi.ini +++ b/src/uwsgi.ini @@ -1,7 +1,8 @@ [uwsgi] # uwsgi-socket = 0.0.0.0:8000 http-socket = 0.0.0.0:8000 -logto = /var/log/geonode.log +# logto = /var/log/geonode.log +log-master = true # pidfile = /tmp/geonode.pid chdir = /usr/src/urban/