Skip to content
Snippets Groups Projects
Commit 6768cf5e authored by Simon McVittie's avatar Simon McVittie
Browse files

srt-logger: New tool to divert command output to a log


By default, this tees output to a log file and its own standard error
stream. It also optionally writes to the systemd Journal.

The log file is written with a size limit: if it would become
larger than its size limit, it's moved out of the way and logging resumes
in a newly created file. This is similar to how the Steam client's
internal logging in C++ code works. Log rotation is automatically
disabled if more than one srt-logger process is trying to write to the
same log, to avoid data loss.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 75ef8c48
No related branches found
No related tags found
1 merge request!676Add srt-logger tool
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment