<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 08/07/2014 08:41 PM, Leonid Isaev
wrote:<br>
</div>
<blockquote cite="mid:20140807204126.GB2301@borei" type="cite">
<pre wrap="">Sorry for a long reply...</pre>
</blockquote>
<br>
No problem I needed to see how you were thinking/doing this. <br>
<br>
So basically you want to log everything to /run ( volatile ) and
filter out everything above a certain log-level and store that
persistent in it's own journal<br>
( basically store the output from this "journalctl -p err"
persistently ) <br>
<br>
Or you want to log everything to /run ( volatile ) and filter out
everything above a certain log-level for a specific
user,unit,command whatever and store that persistent in it's own
journal.<br>
( using your example store the output from this "journalctl -p err
_SYSTEMD_UNIT=dnsmasq.service" persistently ) <br>
<br>
One of the Samsung guys proposed something similar to the former a
while back ( and I think he signed himself up to it ) but as far as
I can tell his work has not landed yet.<br>
( <tt>afaikt </tt><tt>requires changes to journald-server.c</tt><code>
</code><tt><span class="term"><code class="varname">introduce
something like SplitMode=priority-err </code></span></tt><tt>etc</tt>
).<br>
<br>
I would not expect anything like this soon since Andy NAK their
SCM_PROCINFO stuff and they are probably to busy
re-writing/re-implementing it as SCM_IDENTY together with him but
one of the Samsung guys can comment if they had started working on
or had otherwise looked into this but as things stand now this
cannot be done afaikt.<br>
<br>
JBG<span class="decoration"></span><span class="term"></span>
</body>
</html>