SOL Logging

Jeremy Kerr jk at ozlabs.org
Fri Sep 14 12:58:18 AEST 2018


Hi Ed,

> obmc-console already keeps a ring-buffer style log of all the previous 
> characters.  The easiest to implement answer, which is probably good 
> enough for most cases, would be to simply make obmc-console barf up the 
> saved console log ring buffer when any new client connects.

Yep, exactly. However, you're exactly right in that:

> I could also imagine a case where this isn't the desired behavior if 
> you're using automation to interact with SSH/SOL, so it might need to be 
> selectable by the client or have some kind of reasonable workaround.

This is definitely the main issue for me here (as well as the control 
characters). Having potentially days-old console data received on 
connect would be somewhat confusing for most users; automation or otherwise.

Cheers,


Jeremy


More information about the openbmc mailing list