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'],