Changes

Jump to: navigation, search

Firefox/Services/Logging

133 bytes added, 14:41, 22 February 2017
Format
= Format =
* A Heka protobuf encoding is ideal from a performance perspective:[https://github.com/mozilla-services/heka/blob/dev/message/message.protoHeka protobuf definition], [https://github.com/mozilla-services/lua_sandbox/blob/master/src/util/heka_message.c Hindsight version]
* JSON is a reasonable alternative (and currently used by most of our servers); [[#JSON log schema]]
* Data is consumed by Heka on STDOUT or STDERR streams. For servers logging JSON, non JSON data will be ignored. Some logging packages prefix the timestamp; this can be worked around but is not ideal. 
Confirm
529
edits

Navigation menu