Skip to content

Commit 13e9014

Browse files
committed
Amended documentation. This closes #14
1 parent 08e68b4 commit 13e9014

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Using the handler in your program
5151
==================================
5252
To initialise and create the handler, just add the handler to your logger as follow ::
5353

54-
from cmrlogging.handlers import CMRESHandler
54+
from cmreslogging.handlers import CMRESHandler
5555
handler = CMRESHandler(hosts=[{'host': 'localhost', 'port': 9200}],
5656
auth_type=CMRESHandler.AuthType.NO_AUTH,
5757
es_index_name="my_python_index")
@@ -61,7 +61,7 @@ To initialise and create the handler, just add the handler to your logger as fol
6161

6262
You can add fields upon initialisation, providing more data of the execution context ::
6363

64-
from cmrlogging.handlers import CMRESHandler
64+
from cmreslogging.handlers import CMRESHandler
6565
handler = CMRESHandler(hosts=[{'host': 'localhost', 'port': 9200}],
6666
auth_type=CMRESHandler.AuthType.NO_AUTH,
6767
es_index_name="my_python_index",
@@ -135,7 +135,7 @@ they can be plotted on Kibana, or the SQL statements that Django executed. ::
135135
},
136136
'elasticsearch': {
137137
'level': 'DEBUG',
138-
'class': 'cmrlogging.handlers.CMRESHandler',
138+
'class': 'cmreslogging.handlers.CMRESHandler',
139139
'hosts': [{'host': 'localhost', 'port': 9200}],
140140
'es_index_name': 'my_python_app',
141141
'es_additional_fields': {'App': 'Test', 'Environment': 'Dev'},

0 commit comments

Comments
 (0)