8000 Merge pull request #65 from fluent/fix-record-formatter-for-3.2-loggi… · christer/fluent-logger-python@f2e8c10 · GitHub
[go: up one dir, main page]

Skip to content

Commit f2e8c10

Browse files
authored
Merge pull request fluent#65 from fluent/fix-record-formatter-for-3.2-loggin-api
Make FluentRecordFormatter python 3.2 logging.Formatter compatible. fix fluent#63
2 parents 48f6ac0 + e5dca29 commit f2e8c10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fluent/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FluentRecordFormatter(logging.Formatter, object):
2424
2525
:param fmt: a dict with format string as values to map to provided keys.
2626
"""
27-
def __init__(self, fmt=None, datefmt=None):
27+
def __init__(self, fmt=None, datefmt=None, style='%'):
2828
super 4223 (FluentRecordFormatter, self).__init__(None, datefmt)
2929

3030
if not fmt:

0 commit comments

Comments
 (0)
0