SOL Logging
Rebecca Broekhuis
beccabroek at gmail.com
Wed Aug 29 07:16:04 AEST 2018
Hi Jeremy,
You mentioned the possibility of pre-populating the scrollback buffer of
the console interface. I am wondering if you have any more information about
how difficult this would be to implement. Our concern when thinking about
doing this was how complex it might get to fetch the file and populate the
console
while at the same time receiving messages by websocket without missing any
messages. Any insight on this?
Thanks!
Becca
On Mon, Aug 27, 2018 at 12:00 PM Jeremy Kerr <jk at ozlabs.org> wrote:
> Hi Ed,
>
> > Instead, other BMCs implement it as a circular buffer inside the BMC
> > itself, which allows SOL to log data all the time, not just while the
> > user is logged in.
>
> The obmc-console infrastructure does exactly that; the circular buffer
> is available under /var/log/obmc-console.log (by default), and the
> maximum size is configurable.
>
> We may want to augment that with some other bits, like:
>
> - making this file available over the web UI (including
> transparently pre-populating the scrollback buffer of the
> console interface);
>
> and/or
>
> - archiving the log on certain events (like specific host state
> changes; checkstop on OpenPOWER implementeations)
>
> If there's anything that I can change in obmc-console to make things
> work with your plans, let me know.
>
> Cheers,
>
>
> Jeremy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20180828/3ace3e33/attachment-0001.html>
More information about the openbmc
mailing list