tendermint/cmd/stdinwriter
Jae Kwon 908fd11665 more explicit _, err := Start() checking 2015-08-11 11:01:17 -07:00
..
README.md filelogger -> stdinwriter 2015-07-08 13:07:05 -07:00
main.go more explicit _, err := Start() checking 2015-08-11 11:01:17 -07:00

README.md

stdinwriter 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 | stdinwriter -o path_to_log.log