[Bug 236117] /usr/sbin/daemon should support stdin,stdout,stderr redirect to files other than /dev/null

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Apr 2023 00:45:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236117

--- Comment #2 from Ihor Antonov <ihor@antonovs.family> ---
zhoutao@laocius.org:

You could send logs to syslog, if that works for you.
Check these daemon options:

--syslog       Send output to syslog 
--output-mask  What to send to syslog/file
               1=stdout, 2=stderr, 3=both


I know this is not ideal. I am thinking about the way to add the feature you
request without breaking the current interface and without making it
inconsistent/incoherent..

-- 
You are receiving this mail because:
You are the assignee for the bug.