You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
223 B

  1. stdinwriter reads from stdin and writes to the specified file, in a way compatible for logrotate to move around.
  2. (see tendermint/common/os#AutoFile)
  3. ```bash
  4. some_command arg1 arg2 2>&1 | stdinwriter -o path_to_log.log
  5. ```