[systemd-commits] src/journal

Lennart Poettering lennart at kemper.freedesktop.org
Tue Aug 26 12:48:11 PDT 2014


 src/journal/sd-journal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 36202fd2bc252616966166c98ccb0e0e5ece1fc9
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Aug 26 21:47:46 2014 +0200

    sd-journal: never log anything by default from a library

diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c
index b9ec902..80ff8fe 100644
--- a/src/journal/sd-journal.c
+++ b/src/journal/sd-journal.c
@@ -2557,7 +2557,7 @@ _public_ int sd_journal_enumerate_unique(sd_journal *j, const void **data, size_
 
                 /* Let's do the type check by hand, since we used 0 context above. */
                 if (o->object.type != OBJECT_DATA) {
-                        log_error("%s:offset " OFSfmt ": object has type %d, expected %d",
+                        log_debug("%s:offset " OFSfmt ": object has type %d, expected %d",
                                   j->unique_file->path, j->unique_offset,
                                   o->object.type, OBJECT_DATA);
                         return -EBADMSG;



More information about the systemd-commits mailing list