Tor Hedin Brønner
f4c82bcdfe
debug: support native systemd services
...
3.34 can run sessions using systemd user services. Use these if available to
access the journal.
2019-09-19 10:42:04 +02:00
Ole Jørgen Brønner
065cee5f5d
log-viewer: don't break on log(multiline)
...
The assumption that every line was timestamped turned out to be wrong [1]
causing the skip filters to break (and distort the output)
Abandon timestamp and message on separate line. Print only the time part of the
timestamp to save horizontal space.
2018-12-23 19:03:47 +01:00
Ole Jørgen Brønner
ac655c925a
log-viewer: silly bugfix group stacktraces
2018-07-06 13:22:19 +02:00
Ole Jørgen Brønner
4b7139fe2f
log-viewer: speed up filtering
2018-07-03 15:08:00 +02:00
Ole Jørgen Brønner
ab4caf200d
log-viewer: Group stacktraces for better readability
2018-07-03 14:57:20 +02:00
Ole Jørgen Brønner
6a1d4dcbc5
Fix debug/log-viewer for non-nixos systems + show more initial lines
2018-06-26 21:46:33 +02:00
Ole Jørgen Brønner
bd76ebcf35
debug log viewer: skip-crap didn't skip everything
2018-05-01 14:15:29 +02:00
Ole Jørgen Brønner
0e21d71d10
bin/debug: Ignore Tweener "has already been finalized" by brute force
...
Also force sed to use line buffering so we can grep the output interactively
2018-04-22 15:21:13 +02:00
Ole Jørgen Brønner
7a215149cf
Debug utils: print stacktrace and allow mulitlines debug messages
...
Encode newlines using non-breaking space.
Don't unconditionally encode newlines though since it the debug script must be
used to decode them.
2017-09-18 12:13:44 +02:00
Ole Jørgen Brønner
ede4f10dfa
Select journal entries by executable
...
This will hopefully catch all relevant logs.
2017-09-15 18:46:48 +02:00
Tor Hedin Brønner
52efb8bb38
Add a little debug script which uses journalctl
...
Inserts a new line and two spaces after the journal stamp for readability
2017-09-11 01:34:42 +02:00