mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-29 06:01:21 +00:00
7 lines
221 B
Markdown
7 lines
221 B
Markdown
filelogger reads from stdin and writes to the specified file, in a way compatible for logrotate to move around.
|
|
(see tendermint/common/os#AutoFile)
|
|
|
|
```bash
|
|
some_command arg1 arg2 2>&1 | filelogger -o path_to_log.log
|
|
```
|