Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You only need to import and initialize your app

# Import dependencies
from flask import Flask
from flask.ext.graylog import Graylog
from flask_graylog import Graylog

# Configure app and Graylog logger
app = Flask(__name__)
Expand All @@ -51,7 +51,7 @@ The following options can be use to configure the graylog logger.
.. code:: python

from flask import Flask
from flask.ext.graylog import Graylog
from flask_graylog import Graylog

app = Flask(__name__)

Expand Down
2 changes: 1 addition & 1 deletion flask_graylog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down