mirror of
https://github.com/ansible/awx.git
synced 2026-06-26 08:58:03 -02:30
rsyslog hardening (fixing a few weird things we noticed)
This commit is contained in:
committed by
Christian Adams
parent
70391f96ae
commit
ce82b87d9f
@@ -11,6 +11,8 @@ from django.conf import settings
|
||||
|
||||
class RSysLogHandler(logging.handlers.SysLogHandler):
|
||||
|
||||
append_nul = False
|
||||
|
||||
def emit(self, msg):
|
||||
if not os.path.exists(settings.LOGGING['handlers']['external_logger']['address']):
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user