mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
stop using Django NullHandler which is being removed in future version
This commit is contained in:
@@ -14,7 +14,6 @@ from requests_futures.sessions import FuturesSession
|
||||
|
||||
# custom
|
||||
from django.conf import settings as django_settings
|
||||
from django.utils.log import NullHandler
|
||||
|
||||
# AWX external logging handler, generally designed to be used
|
||||
# with the accompanying LogstashHandler, derives from python-logstash library
|
||||
@@ -38,7 +37,7 @@ def unused_callback(sess, resp):
|
||||
pass
|
||||
|
||||
|
||||
class HTTPSNullHandler(NullHandler):
|
||||
class HTTPSNullHandler(logging.NullHandler):
|
||||
"Placeholder null handler to allow loading without database access"
|
||||
|
||||
def __init__(self, host, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user