Install flog by entering the following commands in the terminal:
sudo apt update sudo apt install flog
Description:
dump STDIN to file and reopen on SIGHUP
flog (file logger) reads input from STDIN and writes to a file. When a SIGHUP is received, the file will be reopened, allowing for log rotation.
Homepage: http://oss.ezic.com/
Version: 1.8+orig-1
Section: universe/utils