From fbef8e3618ab078c1396a4c8a6f0186c038cbeeb Mon Sep 17 00:00:00 2001 From: Parth Kulkarni Date: Mon, 3 Jun 2019 16:03:06 +0530 Subject: [PATCH] https://github.com/severb/graypy/issues/105 --- 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'],