<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/OpenBmc/bmcweb.git/redfish-core/src/journal_read_state.cpp, branch master</title>
<subtitle>A do everything Redfish, KVM, GUI, and DBus webserver for OpenBMC (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/'/>
<updated>2026-03-31T17:54:50+00:00</updated>
<entry>
<title>Encapsulate sd-journal</title>
<updated>2026-03-31T17:54:50+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed@tanous.net</email>
</author>
<published>2026-03-13T23:35:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=93632d60d2e23d099af9dc32d4796da6d8b732d5'/>
<id>urn:sha1:93632d60d2e23d099af9dc32d4796da6d8b732d5</id>
<content type='text'>
It would be better if the larger compile units didn't have to pull in
the sd-journal header.  At the same time, there's C handling of a number
of resources that could be moved to an RAII class, and unit tests that
we can add.  This commit does all those things.

Note, vacuum.journal is a file created with
```
journalctl --rotate &amp;&amp; sleep 1 &amp;&amp; journalctl --rotate
````

And contains a few log entries.  Note, while this file is 8MB, the
majority are zeros, so git should compress it just fine.

Tested: Unit tests updated.
Redfish service validator passes

Change-Id: If578316bcd1d0162b7ecdcca27c1c7818ce2b6fa
Signed-off-by: Ed Tanous &lt;etanous@nvidia.com&gt;
</content>
</entry>
</feed>
