Skip to content

Commit 0aabe09

Browse files
authored
Removed obsolate settings
1 parent fa044b6 commit 0aabe09

File tree

1 file changed

+0
-82
lines changed

1 file changed

+0
-82
lines changed

src/project_name/settings.py

Lines changed: 0 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -80,85 +80,3 @@
8080
TEMPLATES[0]["OPTIONS"]["loaders"] = loaders
8181
TEMPLATES[0].pop("APP_DIRS", None)
8282

83-
LOGGING = {
84-
"version": 1,
85-
"disable_existing_loggers": True,
86-
"formatters": {
87-
"verbose": {
88-
"format": "%(levelname)s %(asctime)s %(module)s %(process)d "
89-
"%(thread)d %(message)s"
90-
},
91-
"simple": {
92-
"format": "%(message)s",
93-
},
94-
},
95-
"filters": {"require_debug_false": {"()": "django.utils.log.RequireDebugFalse"}},
96-
"handlers": {
97-
"console": {
98-
"level": "ERROR",
99-
"class": "logging.StreamHandler",
100-
"formatter": "simple",
101-
},
102-
"mail_admins": {
103-
"level": "ERROR",
104-
"filters": ["require_debug_false"],
105-
"class": "django.utils.log.AdminEmailHandler",
106-
},
107-
},
108-
"loggers": {
109-
"django": {
110-
"handlers": ["console"],
111-
"level": "ERROR",
112-
},
113-
"geonode": {
114-
"handlers": ["console"],
115-
"level": "INFO",
116-
},
117-
"geoserver-restconfig.catalog": {
118-
"handlers": ["console"],
119-
"level": "ERROR",
120-
},
121-
"owslib": {
122-
"handlers": ["console"],
123-
"level": "ERROR",
124-
},
125-
"pycsw": {
126-
"handlers": ["console"],
127-
"level": "ERROR",
128-
},
129-
"celery": {
130-
"handlers": ["console"],
131-
"level": "DEBUG",
132-
},
133-
"mapstore2_adapter.plugins.serializers": {
134-
"handlers": ["console"],
135-
"level": "DEBUG",
136-
},
137-
"geonode_logstash.logstash": {
138-
"handlers": ["console"],
139-
"level": "DEBUG",
140-
},
141-
},
142-
}
143-
144-
CENTRALIZED_DASHBOARD_ENABLED = ast.literal_eval(
145-
os.getenv("CENTRALIZED_DASHBOARD_ENABLED", "False")
146-
)
147-
if (
148-
CENTRALIZED_DASHBOARD_ENABLED
149-
and USER_ANALYTICS_ENABLED
150-
and "geonode_logstash" not in INSTALLED_APPS
151-
):
152-
INSTALLED_APPS += ("geonode_logstash",)
153-
154-
CELERY_BEAT_SCHEDULE["dispatch_metrics"] = {
155-
"task": "geonode_logstash.tasks.dispatch_metrics",
156-
"schedule": 3600.0,
157-
}
158-
159-
LDAP_ENABLED = ast.literal_eval(os.getenv("LDAP_ENABLED", "False"))
160-
if LDAP_ENABLED and "geonode_ldap" not in INSTALLED_APPS:
161-
INSTALLED_APPS += ("geonode_ldap",)
162-
163-
# Add your specific LDAP configuration after this comment:
164-
# https://docs.geonode.org/en/master/advanced/contrib/#configuration

0 commit comments

Comments
 (0)