syslog: new option to log in interactive sessions
Developers often want to run programs that log to stderr when they run
them by hand, but use syslog when run as a daemon. Add a new flag that
turns on stderr logging only when stdin is a tty.
Commit-Ready: Mike Frysinger <firstname.lastname@example.org>
Tested-by: Mike Frysinger <email@example.com>
Reviewed-by: Dan Erat <firstname.lastname@example.org>
2 files changed