All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Teigland <teigland@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - print warning about unrecognized journal option value
Date: Thu,  2 Dec 2021 18:41:26 +0000 (GMT)	[thread overview]
Message-ID: <20211202184126.9CE46385841A@sourceware.org> (raw)

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=455c29b10dfd15a9fa2ad72c8f9de77572328d39
Commit:        455c29b10dfd15a9fa2ad72c8f9de77572328d39
Parent:        c42a05c3ec8608e438fca435e3cbe6d306af80c6
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Thu Dec 2 12:40:52 2021 -0600
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Thu Dec 2 12:40:52 2021 -0600

print warning about unrecognized journal option value

---
 lib/log/log.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/log/log.c b/lib/log/log.c
index 7b4d537b3..5771a1d01 100644
--- a/lib/log/log.c
+++ b/lib/log/log.c
@@ -892,6 +892,7 @@ uint32_t log_journal_str_to_val(const char *str)
 		return LOG_JOURNAL_OUTPUT;
 	if (!strcasecmp(str, "debug"))
 		return LOG_JOURNAL_DEBUG;
+	log_warn("Ignoring unrecognized journal value.");
 	return 0;
 }
 



                 reply	other threads:[~2021-12-02 18:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211202184126.9CE46385841A@sourceware.org \
    --to=teigland@sourceware.org \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.