Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Conversation

@romain-dartigues
Copy link

Hi,

here are some suggestions:

  • in the current default JSON serializer, seconds are lost in datetime instances
  • in my opinion, the datefmt parameter to logging.Formatter instances should be used only to format the message time; not to serialize the data
  • testJsonLogger has been renamed to TestJsonLogger

Regards.

Romain Dartigues added 2 commits March 2, 2016 09:48
* the `datefmt` parameter is intended to be used
  by logging.Formatter.formatTime and not for the serialization
* seconds are lost in the serialization of time and datetimes instances
Fix typo introduced in b13299c when "testJsonLogger" was renamed in
"TestJsonLogger" but not in the called test.
@madzak madzak merged commit 6425c16 into madzak:master Jun 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants