Commit graph

12 commits

Author SHA1 Message Date
fe1d15e8f6
crash: add crash reporter 2024-08-20 00:55:07 -07:00
14852700cb
core/log: ensure malformed logs cannot overflow ring buffer 2024-08-10 01:40:51 -07:00
5f4d7f89db
core/log: fix log corruption with messages at 29 second deltas
29, or 0x1d is used as a marker to mean the log level and time delta
cannot fit in a single byte, and the time delta will be a varint
following the current byte.

Prior to this commit, 29 second deltas would be written as 0x1d
instead of 0x1d1d, which the parser interpreted as a hint to read the
next byte, causing the parser to become offset by one byte and all
following logs to be potentially corrupt.
2024-08-10 01:35:52 -07:00
53b8f1ee0b
core/log: add read-log --no-time 2024-08-09 23:58:30 -07:00
c2b4610acb
core/log: add read-log --filter 2024-08-09 23:45:46 -07:00
0fc98652a8
core/log: create fully detailed logs by default
The .qslog logs now log messages for quickshell* by default.
2024-08-09 20:24:17 -07:00
291179ede2
core/command: rewrite command parser with CLI11 2024-08-09 19:25:18 -07:00
bdbf5b9af9
core/log: add custom log encoder for smaller log storage
Will be used to store more detailed logs in the future without using
as much disk space.
2024-08-09 14:43:18 -07:00
8364e94d26
core/log: capture early logs in fs logger 2024-08-07 15:53:11 -07:00
7c7326ec52
core/log: add timestamps to log files 2024-08-07 13:40:37 -07:00
6bf4826ae7
core/log: add filesystem logger 2024-08-02 21:37:52 -07:00
46f48f2f87
core/log: add fancy logger 2024-08-02 18:52:05 -07:00