<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libumberlog.git/t, branch master</title>
<subtitle>libumberlog patches for integration upstream - branches are rebased</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/libumberlog.git/'/>
<entry>
<title>Fix a few test cases</title>
<updated>2012-08-12T20:09:50+00:00</updated>
<author>
<name>Gergely Nagy</name>
<email>algernon@balabit.hu</email>
</author>
<published>2012-08-12T20:09:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/libumberlog.git/commit/?id=6a25c8d0973b62fb505ce618f86fe661fae6bb53'/>
<id>6a25c8d0973b62fb505ce618f86fe661fae6bb53</id>
<content type='text'>
The test_overrides() test must be run first, otherwise we'll already
likely not have a clean environment to test in. Furthermore, when
testing discovery, make sure that NOIMPLICIT is not set.

Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test_overrides() test must be run first, otherwise we'll already
likely not have a clean environment to test in. Furthermore, when
testing discovery, make sure that NOIMPLICIT is not set.

Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test_perf</title>
<updated>2012-08-11T00:41:18+00:00</updated>
<author>
<name>Gergely Nagy</name>
<email>algernon@balabit.hu</email>
</author>
<published>2012-08-11T00:41:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/libumberlog.git/commit/?id=719f73c920523da484bf399761df19c044730284'/>
<id>719f73c920523da484bf399761df19c044730284</id>
<content type='text'>
test_perf was still relying on the old behaviour of ul_openlog(): no
more, it uses ul_set_log_flags() now.

Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test_perf was still relying on the old behaviour of ul_openlog(): no
more, it uses ul_set_log_flags() now.

Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Test reorganisation</title>
<updated>2012-08-10T23:20:47+00:00</updated>
<author>
<name>Gergely Nagy</name>
<email>algernon@balabit.hu</email>
</author>
<published>2012-08-10T23:13:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/libumberlog.git/commit/?id=1dfe00133e63764ece587ba75084dcf275bb22ab'/>
<id>1dfe00133e63764ece587ba75084dcf275bb22ab</id>
<content type='text'>
Moved some tests around between test_umberlog and
test_umberlog_preload, so only those tests remain in
test_umberlog_preload that do test something that the LD_PRELOAD lib
variant provides.

Also added a comment above each test to quickly clarify what they're
meant to test.

Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Moved some tests around between test_umberlog and
test_umberlog_preload, so only those tests remain in
test_umberlog_preload that do test something that the LD_PRELOAD lib
variant provides.

Also added a comment above each test to quickly clarify what they're
meant to test.

Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>LOG_UL_NODISCOVER =&gt; LOG_UL_NOIMPLICIT</title>
<updated>2012-08-10T23:06:55+00:00</updated>
<author>
<name>Gergely Nagy</name>
<email>algernon@balabit.hu</email>
</author>
<published>2012-08-10T23:06:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/libumberlog.git/commit/?id=fbeba09ae5050ef0adf2791b9d1a29993e9f6658'/>
<id>fbeba09ae5050ef0adf2791b9d1a29993e9f6658</id>
<content type='text'>
Based on a suggestion by Miloslav Trmač &lt;mitr@redhat.com&gt;, rename
LOG_UL_NODISCOVER to LOG_UL_NOIMPLICIT, and clarify the documentation
slightly.

Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on a suggestion by Miloslav Trmač &lt;mitr@redhat.com&gt;, rename
LOG_UL_NODISCOVER to LOG_UL_NOIMPLICIT, and clarify the documentation
slightly.

Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Support disabling discovery for the LD_PRELOAD variant</title>
<updated>2012-08-10T14:53:06+00:00</updated>
<author>
<name>Gergely Nagy</name>
<email>algernon@balabit.hu</email>
</author>
<published>2012-08-10T14:35:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/libumberlog.git/commit/?id=1c707ea147d40ff2119b430512fe4e45c564ce32'/>
<id>1c707ea147d40ff2119b430512fe4e45c564ce32</id>
<content type='text'>
When compiled with --disable-discovery, the LD_PRELOAD variant will
have automatic field discovery disabled. This does not affect the
linkable library, which always has them enabled by default.

Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When compiled with --disable-discovery, the LD_PRELOAD variant will
have automatic field discovery disabled. This does not affect the
linkable library, which always has them enabled by default.

Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce ul_set_log_flags()</title>
<updated>2012-08-10T14:53:06+00:00</updated>
<author>
<name>Gergely Nagy</name>
<email>algernon@balabit.hu</email>
</author>
<published>2012-08-10T13:58:30+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/libumberlog.git/commit/?id=8f7cfb8658fc3b2714a5b1c15dd350d5466ef947'/>
<id>8f7cfb8658fc3b2714a5b1c15dd350d5466ef947</id>
<content type='text'>
Instead of piggy-backing on ul_openlog(), and accepting new flags at
openlog()-time, use a separate function, ul_set_log_flags() to achieve
the same.

This way, anyone who wants to flip any of the new flags, will have to
use ul_set_log_flags(), as ul_openlog() ignores them from now on.

This is based on work done by Miloslav Trmač &lt;mitr@redhat.com&gt;, and is
both an API and an ABI breakage.

Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of piggy-backing on ul_openlog(), and accepting new flags at
openlog()-time, use a separate function, ul_set_log_flags() to achieve
the same.

This way, anyone who wants to flip any of the new flags, will have to
use ul_set_log_flags(), as ul_openlog() ignores them from now on.

This is based on work done by Miloslav Trmač &lt;mitr@redhat.com&gt;, and is
both an API and an ABI breakage.

Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Split the library into a linkable and an LD_PRELOAD-able part</title>
<updated>2012-08-10T14:53:06+00:00</updated>
<author>
<name>Gergely Nagy</name>
<email>algernon@balabit.hu</email>
</author>
<published>2012-08-10T12:07:29+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/libumberlog.git/commit/?id=8af1d67bd3e8a1766cb9984b3771162cc4c19669'/>
<id>8af1d67bd3e8a1766cb9984b3771162cc4c19669</id>
<content type='text'>
In order to satisfy the desire of using libumberlog, specifically
ul_format(), without having to worry about syslog() &amp; friends being
overridden, split the library into two parts:

A linkable library, which provides the new API, but does not override
the legacy syslog() functions; and a new, LD_PRELOAD-able part, which
does override the old ones.

Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to satisfy the desire of using libumberlog, specifically
ul_format(), without having to worry about syslog() &amp; friends being
overridden, split the library into two parts:

A linkable library, which provides the new API, but does not override
the legacy syslog() functions; and a new, LD_PRELOAD-able part, which
does override the old ones.

Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Whitespace &amp; coding style cleanup</title>
<updated>2012-08-10T10:22:04+00:00</updated>
<author>
<name>Gergely Nagy</name>
<email>algernon@balabit.hu</email>
</author>
<published>2012-08-10T10:22:04+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/libumberlog.git/commit/?id=1e3ef078ff10db76cb0a5196d26ad416b5aa1789'/>
<id>1e3ef078ff10db76cb0a5196d26ad416b5aa1789</id>
<content type='text'>
Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Gergely Nagy &lt;algernon@balabit.hu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove some unused variables.</title>
<updated>2012-07-30T07:20:40+00:00</updated>
<author>
<name>Miloslav Trmač</name>
<email>mitr@redhat.com</email>
</author>
<published>2012-07-30T07:17:44+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/libumberlog.git/commit/?id=059c0d3c409ac43bacf99233bdacb4840cb7afe8'/>
<id>059c0d3c409ac43bacf99233bdacb4840cb7afe8</id>
<content type='text'>
Signed-off-by: Miloslav Trmač &lt;mitr@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Miloslav Trmač &lt;mitr@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark missing host name separately from flags.</title>
<updated>2012-07-30T05:42:01+00:00</updated>
<author>
<name>Miloslav Trmač</name>
<email>mitr@redhat.com</email>
</author>
<published>2012-07-24T12:08:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/mitr/public_git/libumberlog.git/commit/?id=e26286847d4325d4c75cb5c661ddfc10af840177'/>
<id>e26286847d4325d4c75cb5c661ddfc10af840177</id>
<content type='text'>
This simplifies the syslog() path a little, and allows us to express
"host name should be cached but no value is set.".

Because host name field is already emptied by default and in closelog (),
this also means uncached data is used before openlog () and after
closelog ().

Signed-off-by: Miloslav Trmač &lt;mitr@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This simplifies the syslog() path a little, and allows us to express
"host name should be cached but no value is set.".

Because host name field is already emptied by default and in closelog (),
this also means uncached data is used before openlog () and after
closelog ().

Signed-off-by: Miloslav Trmač &lt;mitr@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
