<div dir="ltr">Hi all,<div><br></div><div>we have just released liblognorm 1.1.2. This release contains new parser syntaxes and some fixes.<br></div><div>
<p>Changes:<br>
Version 1.1.2, 2015-07-20</p>
<ul>
<li>permit newline inside parser definition</li>
<li>new parser “cisco-interface-spec”</li>
<li>new parser “json” to process json parts of the message</li>
<li>new parser “mac48″ to process mac layer addresses</li>
<li>new parser “name-value-list” (currently inofficial, experimental)</li>
<li>some parsers did incorrectly report success when an error occurred<br>
this was caused by inconsistencies between various macros. We have<br>
changed the parser-generation macros to match the semantics of the<br>
broader CHKN/CHKR macros and also restructured/simplified the<br>
parser generation macros.<br>
closes <a href="https://github.com/rsyslog/liblognorm/issues/41">https://github.com/rsyslog/liblognorm/issues/41</a></li>
<li>call “rest” parser only if nothing else matches.<br>
Versions prior to 1.1.2 did execute “rest” during regular parser<br>
processing, and thus parser matches have been more or less random.<br>
With 1.1.2 this is now always the last parser called. This may cause<br>
problems with existing rulesets, HOWEVER, adding any other rule or<br>
changing the load order would also have caused problems, so there<br>
really is no compatibility to preserve.<br>
see also:<br>
<a href="http://blog.gerhards.net/2015/04/liblognorms-rest-parser-now-more-useful.html">http://blog.gerhards.net/2015/04/liblognorms-rest-parser-now-more-useful.html</a></li>
<li>new API to support error callbacks<br>
This permits callers to forward messages in regard to e.g. wrong rule<br>
bases to their users, which is very useful and actually missing in the<br>
previous code base. So far, we only have few error messages.<br>
However, we will review the code and add more. The important part is<br>
that callers can begin to use the new API and thus will benefit when<br>
we add more error messages.</li>
<li>testbench is now enabled by default</li>
<li>bugfix: misadressing on some constant values<br>
see also <a href="https://github.com/rsyslog/liblognorm/pull/67">https://github.com/rsyslog/liblognorm/pull/67</a><br>
Thanks to github user ontholerian for the patch</li>
<li>bugfix: add missing function prototypes<br>
This could potentially lead to problems on some platforms,<br>
especially those with 64 bit pointers.</li>
</ul>
<p>Download:<br>
<a href="http://www.liblognorm.com/download/liblognorm-1-1-2/">http://www.liblognorm.com/download/liblognorm-1-1-2/</a></p>
<p>As always, feedback is appreciated.</p>
<p>Best regards,<br>
Florian Riedl</p></div></div>