~emersion/blackbox

Records logs in the background
Accept command to run as arg
Handle SIGINT/SIGTERM
Initial commit

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~emersion/blackbox
read/write
git@git.sr.ht:~emersion/blackbox

You can also use your local clone with git send-email.

#blackbox

Records logs in a ring buffer. The recorded data can be retrieved after-the-fact via a Unix socket. Useful when trying to obtain data about a heisenbug.

#Building

meson build/
ninja -C build/

#Usage

blackbox -- <program>

<program> can be used normally for extended periods of time. blackbox will print instructions that can be used to grab logs when the bug is reproduced.

blackbox can also read from the standard input:

<program> 2>&1 | blackbox

#License

AGPLv3, see LICENSE.

Copyright © 2021 Simon Ser

Do not follow this link