Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a few important details #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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