Dump stdin to file and reopen on sighup
flog [ -t ] [ -T format ] [ -l number ] [ -p pidfile ] logfile
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.
prepend each line with "YYYYMMDD;HH:MM:SS: "
prepend each line with specified strftime(3) format
log file length limit (force truncation)
create pid file
Fredrik Sjoholm <[email protected]>
Licensed under the GNU General Public License