I was trying to enable access log on gunicorn and adding 'accesslog' option to SENTRY_WEB_OPTIONS.
SENTRY_WEB_OPTIONS = {
'workers': 16, # the number of gunicorn workers
'limit_request_line': 0, # required for raven-js
'secure_scheme_headers': {'X-FORWARDED-PROTO': 'https'},
'accesslog': '-', # access log to stderr
}
This settings alone cannot achieve my purpose since the logging dictconfig in sentry/conf/server.py used 'disable_existing_loggers' = True.
Thus, I have to add LOGGING['disable_existing_loggers'] = False to my sentry.conf.py in order to "re-enable" the loggers in gunicorn.
Is this the expected behavior or the gunicorn log config is ignored by accident?
I was trying to enable access log on gunicorn and adding 'accesslog' option to SENTRY_WEB_OPTIONS.
This settings alone cannot achieve my purpose since the logging dictconfig in sentry/conf/server.py used
'disable_existing_loggers' = True.Thus, I have to add
LOGGING['disable_existing_loggers'] = Falseto my sentry.conf.py in order to "re-enable" the loggers in gunicorn.Is this the expected behavior or the gunicorn log config is ignored by accident?