Skip to content

Commit

Permalink
Update link to logging standard. (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomprince authored and jezdez committed Feb 20, 2019
1 parent f4996f0 commit bd6efcf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/dockerflow/logging.py
Expand Up @@ -22,9 +22,7 @@ class JsonLogFormatter(logging.Formatter):
.. seealso::
- https://mana.mozilla.org/wiki/display/CLOUDSERVICES/Logging+Standard
- https://mana.mozilla.org/wiki/pages/viewpage.action?pageId=42895640
- https://wiki.mozilla.org/Firefox/Services/Logging
Adapted from:
https://github.com/mozilla-services/mozservices/blob/master/mozsvc/util.py#L106
Expand Down Expand Up @@ -68,7 +66,7 @@ def format(self, record):
Map from Python LogRecord attributes to JSON log format fields
* from - https://docs.python.org/3/library/logging.html#logrecord-attributes
* to - https://mana.mozilla.org/wiki/pages/viewpage.action?pageId=42895640
* to - https://wiki.mozilla.org/Firefox/Services/Logging
"""
out = dict(
Timestamp=int(record.created * 1e9),
Expand Down

0 comments on commit bd6efcf

Please sign in to comment.