Merge pull request #6004 from ansible/AlanCoding-patch-1

Remove async from logging test kwargs
This commit is contained in:
Alan Rominger
2017-04-12 09:31:37 -04:00
committed by GitHub

View File

@@ -107,7 +107,7 @@ class BaseHTTPSHandler(logging.Handler):
Tests logging connectivity for the current logging settings. Tests logging connectivity for the current logging settings.
@raises LoggingConnectivityException @raises LoggingConnectivityException
""" """
handler = cls.from_django_settings(settings, async=True) handler = cls.from_django_settings(settings)
handler.enabled_flag = True handler.enabled_flag = True
handler.setFormatter(LogstashFormatter(settings_module=settings)) handler.setFormatter(LogstashFormatter(settings_module=settings))
logger = logging.getLogger(__file__) logger = logging.getLogger(__file__)