Install golang-github-jrick-logrotate-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-jrick-logrotate-dev
Description:
Simple log rotator
slightly better than >> logrotate is a naïve log rotator which reads logs from stdin and writes them to a file, gzipping and truncating when it grows too large. If you have daemons that log to stdout, you can pipe them into this and get rotated logfiles.
Homepage: https://github.com/jrick/logrotate
Version: 0.0~git20170628.a93b200-4
Section: universe/devel