Skip to content
Open
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
2 changes: 1 addition & 1 deletion cmreslogging/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def flush(self):
actions = (
{
'_index': self._index_name_func.__func__(self.es_index_name),
'_type': self.es_doc_type,
# '_type': self.es_doc_type, #Remove to resolve Issue #76 (ElasticsearchDeprecationWarning: [types removal] Specifying types in bulk requests is deprecated.)
'_source': log_record
}
for log_record in logs_buffer
Expand Down