SIMPLE SOLUTIONS

FLOG(1) - man page online | user commands

Dump STDIN to file and reopen on SIGHUP.

Chapter
March 2008
FLOG(1)                              General Commands Manual                              FLOG(1)

NAME

flog - dump STDIN to file and reopen on SIGHUP

SYNOPSIS

flog [ -t ] [ -T format ] [ -l number ] [ -p pidfile ] logfile

DESCRIPTION

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.

OPTIONS

-t prepend each line with "YYYYMMDD;HH:MM:SS: " -T format prepend each line with specified strftime(3) format -l number log file length limit (force truncation) -p pidfile create pid file

AUTHOR

Fredrik Sjoholm <@sjoholm.com>

LICENSE

Licensed under the GNU General Public License
March 2008 FLOG(1)
This manual Reference Other manuals
flog(1) referred by flog(1fun) | gong(1fun) | tm(1fun)
refer to strftime(3)