2025-04-04 09:15:32 +08:00
2023-10-28 09:06:35 +08:00
2022-07-31 00:50:07 +08:00
2023-10-28 09:06:35 +08:00
2025-01-14 00:50:20 +08:00
2025-04-04 09:15:32 +08:00

rotate-puts

Rotate outputs from std in or assigned file

Usage:

command | rotate-puts

Use mkfifo:

mkfido test-fifo
rotate-puts --file test-fifo
command > test-fifo

Run as daemon:

rotate-put --file test-fifo --daemon --iden test [--continue-read]

For nginx:

mkfifo access.log
mkfifo error.log
./rotate-puts --daemon --file access.log --prefix nginx_access --continue-read --ident nginx_access
./rotate-puts --daemon --file error.log --prefix nginx_error --continue-read --ident nginx_error
Description
Rotate outputs from std in
Readme 67 KiB
Languages
Rust 98.9%
Just 1.1%