Hi Chris,

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
flash.
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

Storage=volatile
MaxLevelSyslog=
ForwardToSyslog=

Thanks,

On Mon, Jul 15, 2013 at 2:27 PM, Chris Morgan <chmor...@gmail.com> wrote:
> Hello.
>
> 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.
>
> Chris
> _______________________________________________
> systemd-devel mailing list
> systemd-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to