Add srt-logger tool
Compare changes
Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
Files
10- Simon McVittie authored
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:
Simon McVittie <smcv@collabora.com>
+ 9
− 1
@@ -147,7 +147,14 @@ endforeach
@@ -502,6 +509,7 @@ if get_option('bin')