Jae Kwon c4ed55d801 Refactor to move common libraries out of project | 9 years ago | |
---|---|---|
.. | ||
README.md | filelogger -> stdinwriter | 10 years ago |
main.go | Refactor to move common libraries out of project | 9 years ago |
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