@@ -51,7 +51,7 @@ Using the handler in your program
5151==================================
5252To 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
6262You 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