logjack

command
v0.0.0-...-7c12c5a Latest Latest
Warning

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

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

README

A custom version of logrotate that doesn't rely on sudo access to /etc/logrotate.d.

This will be the second process aside from "tendermint" managed by "debora/barak".

logjack -chopSize="10M" -limitSize="1G" $HOME/.tendermint/logs/tendermint.log

The above example chops the log file and moves it, e.g. to $HOME/.tendermint/logs/tendermint.log.000, when the base file (tendermint.log) exceeds 10M in size. If the total size of tendermint.log.XXX exceeds 1G in size, the older files are removed.

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