stdinwriter

command
v0.0.0-...-d51741d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2015 License: GPL-2.0, GPL-3.0 Imports: 5 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL