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.

11 lines
509 B

  1. A custom version of logrotate that doesn't rely on sudo access to /etc/logrotate.d.
  2. This will be the second process aside from "tendermint" managed by "debora/barak".
  3. ```bash
  4. logjack -chopSize="10M" -limitSize="1G" $HOME/.tendermint/logs/tendermint.log
  5. ```
  6. The above example chops the log file and moves it, e.g. to $HOME/.tendermint/logs/tendermint.log.000,
  7. when the base file (tendermint.log) exceeds 10M in size. If the total size of tendermint.log.XXX exceeds 1G in size,
  8. the older files are removed.