All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Feist <james.feist@linux.intel.com>
To: Matt Spinler <mspinler@linux.ibm.com>,
	OpenBMC Maillist <openbmc@lists.ozlabs.org>
Cc: Ratan Gupta <ratagupt@linux.vnet.ibm.com>,
	"Bills, Jason M" <jason.m.bills@linux.intel.com>
Subject: Re: Message registries continuation
Date: Mon, 22 Jun 2020 14:16:35 -0700	[thread overview]
Message-ID: <5d7fba06-b5fd-2fce-d05e-7f2b99069a2e@linux.intel.com> (raw)
In-Reply-To: <bf459022-2ff9-e596-6c7d-25717a0efe43@linux.ibm.com>

On 6/22/2020 1:46 PM, Matt Spinler wrote:
> Hi James,
> 
> Something I forgot below - when building up our event logs, I have about 
> a dozen fields (mostly OEM)
> that I have to get from the OpenBMC event log's corresponding PEL (IBM's 
> enterprise log format).
> 
> PELs aren't on D-Bus for a few reasons, such as they can be several KB 
> in size and consist of several
> dozen discrete fields, so that rules out bmcweb getting them that way.

Would doing something like having the fields in the journal with a link 
to a file work? See this design for more info: 
https://github.com/openbmc/docs/blob/master/architecture/redfish-logging-in-bmcweb.md

> 
> I do have a shared library that has the PEL APIs I need (PELs themselves 
> are in files). Is it OK if I
> just link in that library as needed when a USE_PELs or whatever option 
> is set?
> Alternatively, I could also dlopen it I suppose.

There's another thread over here 
https://lists.ozlabs.org/pipermail/openbmc/2020-June/022082.html 
happening right now discussing types of logging. As we already have 2 
forms of logging supported, I'm a little hesitant to the idea of a third 
without at least some formal direction of what we want logging to look 
like as a project. More so as we add advanced features on top of 
logging, it makes it more difficult to support different methods.

> 
> Just trying to avoid a surprise during review.
> 
> Thanks
> 

  reply	other threads:[~2020-06-22 21:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-16 19:47 Message registries continuation Matt Spinler
2020-06-16 20:39 ` James Feist
2020-06-16 20:50   ` Patrick Williams
2020-06-16 20:58     ` James Feist
2020-06-16 21:30   ` Matt Spinler
2020-06-16 21:57     ` James Feist
2020-06-18 15:23   ` Brad Bishop
2020-06-22 20:46   ` Matt Spinler
2020-06-22 21:16     ` James Feist [this message]
2020-06-23 18:02       ` Matt Spinler

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=5d7fba06-b5fd-2fce-d05e-7f2b99069a2e@linux.intel.com \
    --to=james.feist@linux.intel.com \
    --cc=jason.m.bills@linux.intel.com \
    --cc=mspinler@linux.ibm.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=ratagupt@linux.vnet.ibm.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.