From: Karel Zak <kzak@redhat.com>
To: kerolasa@gmail.com
Cc: Priya Ahuja <priahuja321@gmail.com>,
util-linux <util-linux@vger.kernel.org>
Subject: Re: Custom structured data from logger utility
Date: Thu, 24 Sep 2015 13:17:02 +0200 [thread overview]
Message-ID: <20150924111702.GD1787@ws.net.home> (raw)
In-Reply-To: <CAG27Bk1+WHUEpyn53pGeSyE0bCVgRFnZ0sD17M3MS0p11P8-Pw@mail.gmail.com>
On Sat, Sep 19, 2015 at 09:50:35AM +0100, Sami Kerola wrote:
> I guess custom data could be implemented the same way as it's done with
> journal, e.g., with io vectors.
Well, for --journal we read the data from stdin. I'm not sure if this
is the right way for rfc5424 where we already use stdin to read the
message body. Maybe we can add extra option
--structured-data name=value
where you can specify the option more than once.
> Perhaps someone else could take the lead doing in writing these changes,
> would you for example fancy doing that?
I'll try it... ;-)
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
next prev parent reply other threads:[~2015-09-24 11:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-18 23:25 Custom structured data from logger utility Priya Ahuja
2015-09-19 8:50 ` Sami Kerola
2015-09-24 11:17 ` Karel Zak [this message]
2015-10-01 12:58 ` Karel Zak
2015-10-02 18:43 ` Priya Ahuja
2015-10-05 12:59 ` Karel Zak
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150924111702.GD1787@ws.net.home \
--to=kzak@redhat.com \
--cc=kerolasa@gmail.com \
--cc=priahuja321@gmail.com \
--cc=util-linux@vger.kernel.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox