Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2023 00:45:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 236117] /usr/sbin/daemon should support stdin,stdout,stderr redirect to files other than /dev/null
Message-ID:  <bug-236117-227-QzLvUgH9rX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236117-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236117-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236117

--- 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=20
--output-mask  What to send to syslog/file
               1=3Dstdout, 2=3Dstderr, 3=3Dboth


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..

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236117-227-QzLvUgH9rX>