We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4c1e8e commit 42f6b22Copy full SHA for 42f6b22
aws_lambda_powertools/logging/formatter.py
@@ -30,7 +30,7 @@ def __init__(self, **kwargs):
30
self.default_json_formatter = kwargs.pop("json_default", str)
31
# Set the insertion order for the log messages
32
self.format_dict = dict.fromkeys(kwargs.pop("log_record_order", ["level", "location", "message", "timestamp"]))
33
- # Set timestamp the date format
+ # Set the date format used by `asctime`
34
super(JsonFormatter, self).__init__(datefmt=kwargs.pop("datefmt", None))
35
36
self.reserved_keys = ["timestamp", "level", "location"]
0 commit comments