[systemd-devel] journald tiered logging for embedded system with flash?
umut at tezduyar.com
Mon Jul 15 06:40:29 PDT 2013
As far as I know journal doesn't have per log severity storage option
setting. But you could use an external logging program like rsyslog to
do what you would like to do. In your case, journal forwards messages
with desired severity to the rsyslog and rsyslog stores messages in
If you are resource limited you could implement your own application
to fetch messages from a datagram socket (syslog.socket) and write
them on flash.
Take a look at following tokens in journald.conf
On Mon, Jul 15, 2013 at 2:27 PM, Chris Morgan <chmorgan at gmail.com> wrote:
> I'm looking at journald.conf for a way to log all messages to ram but
> only messages lower than a certain level to disk (which in this case
> is flash and is slow/has a limited number of write cycles). I see
> MaxLevelStore etc and Storage but I don't see any combination that
> would work as desired.
> I tried to find information about embedded use of journald via a web
> search but nothing came up.
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
More information about the systemd-devel