nopenpilot/common
Greg Hogan 3d48bd934d
log to file and send through athena (#20250)
* 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
2021-03-25 13:30:09 -07:00
..
api Fix jwt.encode return type (#19776) (#19958) 2021-02-02 15:36:04 +01:00
kalman Scons builder for cython extensions (#2485) 2020-11-11 21:14:51 +01:00
tests Simple improvements for quality gate (#2517) 2020-11-12 14:48:45 -08:00
transformations fixup ui (#20049) 2021-02-09 17:23:46 -08:00
.gitignore common folder 2020-01-17 10:28:44 -08:00
SConscript Scons builder for cython extensions (#2485) 2020-11-11 21:14:51 +01:00
__init__.py common folder 2020-01-17 10:28:44 -08:00
basedir.py Qt Offroad stats (#19498) 2020-12-18 13:29:20 +01:00
clock.pyx Scons builder for cython extensions (#2485) 2020-11-11 21:14:51 +01:00
cython_hacks.py common folder 2020-01-17 10:28:44 -08:00
dict_helpers.py log to file and send through athena (#20250) 2021-03-25 13:30:09 -07:00
ffi_wrapper.py --std=c++17 (#2330) 2020-10-17 13:33:12 -07:00
file_helpers.py mkdirs_exists_ok more specific URL detection 2020-06-09 08:56:16 -07:00
filter_simple.py add low pass filter on cpu temp (#1305) 2020-04-01 15:58:40 -07:00
gpio.py HW abstraction layer (#19530) 2020-12-16 21:30:23 -08:00
lazy_property.py common folder 2020-01-17 10:28:44 -08:00
logging_extra.py log to file and send through athena (#20250) 2021-03-25 13:30:09 -07:00
numpy_fast.py Enable more flake8 checks (#1602) 2020-05-30 20:14:58 -07:00
numpy_helpers.py Mpc rework2 (#19660) 2021-01-14 18:43:50 -08:00
params.py params helpers (#19788) 2021-01-19 14:39:00 -08:00
params_pxd.pxd merge utilpp.h into util.h (#19710) 2021-01-10 14:57:32 -08:00
params_pyx.pyx New KL model + laneless toggle (#20454) 2021-03-24 01:10:31 -07:00
profiler.py improve profiler 2020-10-09 18:39:54 -07:00
realtime.py HW abstraction layer (#19530) 2020-12-16 21:30:23 -08:00
spinner.py Spinner: wait for UI to start (#20279) 2021-03-09 13:37:11 -08:00
stat_live.py Flake8 E22X (#1607) 2020-05-31 00:48:47 -07:00
string_helpers.py Enable more flake8 checks (#1602) 2020-05-30 20:14:58 -07:00
text_window.py Qt spinner (#2494) 2020-11-06 18:44:04 -08:00
timeout.py Enable more flake8 checks (#1602) 2020-05-30 20:14:58 -07:00
window.py support for halve in Window 2020-10-20 16:07:05 -07:00
xattr.py uploader: do not delete files after uploading (#1253) 2020-03-19 18:09:26 -07:00