diff --git a/system/loggerd/README.md b/system/loggerd/README.md index 714e4242a04508..ae93d9e945b3bc 100644 --- a/system/loggerd/README.md +++ b/system/loggerd/README.md @@ -8,7 +8,7 @@ Check out our [python library](https://github.com/commaai/openpilot/blob/master/ For each segment, openpilot records the following log types: -## rlog.bz2 +## rlog rlogs contain all the messages passed amongst openpilot's processes. See [cereal/services.py](https://github.com/commaai/cereal/blob/master/services.py) for a list of all the logged services. They're a bzip2 archive of the serialized capnproto messages. @@ -19,7 +19,7 @@ Each camera stream is H.265 encoded and written to its respective file. * ecamera.hevc is the wide road camera * dcamera.hevc is the driver camera -## qlog.bz2 & qcamera.ts +## qlog & qcamera qlogs are a decimated subset of the rlogs. Check out [cereal/services.py](https://github.com/commaai/cereal/blob/master/services.py) for the decimation. diff --git a/system/loggerd/uploader.py b/system/loggerd/uploader.py index 9413c9cff033cd..ee16193cd259d1 100755 --- a/system/loggerd/uploader.py +++ b/system/loggerd/uploader.py @@ -26,7 +26,7 @@ UPLOAD_ATTR_VALUE = b'1' UPLOAD_QLOG_QCAM_MAX_SIZE = 5 * 1e6 # MB -LOG_COMPRESSION_LEVEL = 10 +LOG_COMPRESSION_LEVEL = 10 # little benefit up to level 15. level ~17 is a small step change allow_sleep = bool(os.getenv("UPLOADER_SLEEP", "1")) force_wifi = os.getenv("FORCEWIFI") is not None