From: "Ludovic Courtès" <ludo@gnu.org>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org, Robert Vollmert <rob@vllmrt.net>
Subject: Re: where to put helper to send stdout/stderr to syslog?
Date: Tue, 18 Jun 2019 15:32:52 +0200 [thread overview]
Message-ID: <87v9x3588r.fsf@gnu.org> (raw)
In-Reply-To: <20190617144549.3430003f@scratchpost.org> (Danny Milosavljevic's message of "Mon, 17 Jun 2019 14:45:49 +0200")
Hi,
Danny Milosavljevic <dannym@scratchpost.org> skribis:
> I think it could be made part of shepherd and be exported there, then everyone
> could use it. Logging to syslog isn't exactly an obscure requirement :)
+1!
> Although shepherd already has its own /dev/log (syslog) client implementation,
> the external "logger" executable (or similar) is still necessary, because
> /dev/log is a UNIX domain socket and one can't write to UNIX domain sockets
> the same way one does pipes. Although it might be possible (and not
> advisable) to connect() the socket and then dup it to 1 and 2 for the child :P
Yes, that should be enough.
Robert, would you like to give it a go?
Thanks,
Ludo’.
next prev parent reply other threads:[~2019-06-18 13:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-16 12:22 where to put helper to send stdout/stderr to syslog? Robert Vollmert
2019-06-17 12:45 ` Danny Milosavljevic
2019-06-17 13:12 ` Robert Vollmert
2019-06-17 14:45 ` Danny Milosavljevic
2019-06-18 13:32 ` Ludovic Courtès [this message]
2019-06-18 16:44 ` Robert Vollmert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v9x3588r.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
--cc=rob@vllmrt.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).