* remove log_name
* log without compression
* fix tests
* remove extension for bootlog
* another test fix
* uploader compresses
* also compress in athena
* only compress qlog
* more generic check in do_upload
* fix bootlog compression
* lower loggerd cpu usage
* dont link against bz2
* set core affinity to little cluster
* handle old files
* athena: uploads, show which items fail on error
* fix upload-id
* no more 404
* Update selfdrive/athena/athenad.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
* log to file and send through athena
* rename logging level
* pass thru log formatter
* logMessage is TEXT
* send queue always strings
* switch to xattr and lower priority queue
* enable cloud logging for devices
* time or size based log rotation
* basename -> dirname
* remove HARDWARE.get_cloudlog_enabled
* fix errors
* fix another exception
* xattrs need to be bytes
* sending works
* cleanup files at start
* add id and adjust formatting
* do not send active log file
* better names
* separate log formatters
* fix formatter super init
* fix log file order
* ensure file always has file formatter
* i see why there was no formatter
* apply same formatting to cpp log msgs
* apply same formatting to cpp log msgs
* update queue names in tests
* strip deprecated keys in STATUS_PACKET
* strip DEPRECATED from dict recursively
* athena log queue test
* instanceof instead of type
* isinstance instead of type
* use super
* remove logentries
* last_scan param unused
* comment about special log msg attr names
* add dict_helpers.py to release files
* use monotonic time and counter for log rotation
* update for adjusted log file naming
* use monotonic clock for tracking last log file scan