From 83fef6cad5b3e126b1dfe9347f2215556ba0b83e Mon Sep 17 00:00:00 2001 From: tommmlij Date: Wed, 2 Oct 2019 19:27:43 +0200 Subject: [PATCH] Changed graypy GELFandler to GELFUDPHandler See https://github.com/underdogio/flask-graylog/issues/6 --- flask_graylog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_graylog.py b/flask_graylog.py index d2982a6..8486ea5 100644 --- a/flask_graylog.py +++ b/flask_graylog.py @@ -63,7 +63,7 @@ def init_app(self, app, config=None): self.config.setdefault('GRAYLOG_CONFIGURE_MIDDLEWARE', True) # Configure the logging handler and attach to this logger - self.handler = graypy.GELFHandler( + self.handler = graypy.GELFUDPHandler( host=self.config['GRAYLOG_HOST'], port=self.config['GRAYLOG_PORT'], facility=self.config['GRAYLOG_FACILITY'],