mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 06:15:33 +00:00
221 B
221 B
filelogger reads from stdin and writes to the specified file, in a way compatible for logrotate to move around. (see tendermint/common/os#AutoFile)
some_command arg1 arg2 2>&1 | filelogger -o path_to_log.log