On (10/03/16 12:58), Pavel Březina wrote:
On 03/09/2016 05:39 PM, Lukas Slebodnik wrote:
>ehlo,
>
>I read log files from latest 1.13 today and it was a small challenge
>due to missing line feed after some ldb messages.
>
>LS
Can we check if new line is present instead of always appending it?
We do not always
append it. We append it only in libldb.
Because libldb is inconsistent. I sent patch to samba upstream
but we cannot reply on specific version of libldb.
In future, we can conditionally remove this flag if we detect there is
recent enough libldb.
We could append it but it would be additional slowdown in debug messages
even in other parts of code which already have line feed in message
(sssd debug messages, libhbac ...)
I recently removed unnecessary slowdown with removing "asprintf"
and I would like to avoid adding additional complex logic to
debug stuff.
LS