3 ms·
Spec for a tool I want written but am too lazy to make happen: journal - an append-only personal log. Timestamps all input and appends it to a log file. Inputs
by jldugger 6y ago
Spec for a tool I want written but am too lazy to make happen: journal - an append-only personal log.
Timestamps all input and appends it to a log file. Inputs can be either arguments to the command, or read from stdin if piped to.
Log file should be parseable with grep and other coreutils, but an indexed option might be useful for time range queries.
- door99 6y agohttps://jrnl.sh/ https://jrnl.sh/ ?
- Spivak 6y agoTo write: systemd-cat -t mylogs <<< "Message" To read: journalctl -t mylogs --since yesterday
- megous 6y agoSystemd logs get rotated. :)
- s_gourichon 6y agoSystemd logs get huge in practice. Binary format, also. Still, nice hack value.
- agundy 6y agoYou want something like https://jrnl.sh https://jrnl.sh I’ve used this for a few years now and it’s pretty solid.