Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2022 19:03:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 252095] logger not sending hostname or timestamp to loghost when using capsicum
Message-ID:  <bug-252095-227-jGHO9WMSE5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252095-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252095-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=3D252095

--- Comment #3 from Bryan Drewery <bdrewery@FreeBSD.org> ---
I think a possible fix would be to add an API for passing hostname to
syslog(3). Naming is just an example:
  openlog2(const char *ident, int logopt, int facility, const char *hostnam=
e)
This could be kept set like the tag and facility already are.
Then capsicum's syslog API could learn of it as well.

--=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-252095-227-jGHO9WMSE5>