From: Michael Johnson <mjohnson459 at gmail.com>
To: ell at lists.01.org
Subject: [PATCH] dhcp: CLIENT_ENTER_STATE should log as INFO
Date: Wed, 18 May 2022 17:58:36 +0100 [thread overview]
Message-ID: <20220518165836.180763-1-mjohnson459@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 685 bytes --]
This was missed in the d5377c6. Now the state will only log when INFO or
above is enabled.
---
ell/dhcp.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/ell/dhcp.c b/ell/dhcp.c
index 8ff5594..4e66faa 100644
--- a/ell/dhcp.c
+++ b/ell/dhcp.c
@@ -56,9 +56,7 @@
#define CLIENT_WARN(fmt, args...) \
CLIENT_LOG(L_LOG_WARNING, fmt, ## args)
#define CLIENT_ENTER_STATE(s) \
- l_util_debug(client->debug_handler, client->debug_data, \
- "%s:%i Entering state: " #s, \
- __func__, __LINE__); \
+ CLIENT_INFO("Entering state: " #s); \
client->state = (s)
#define BITS_PER_LONG (sizeof(unsigned long) * 8)
--
2.25.1
next reply other threads:[~2022-05-18 16:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-18 16:58 Michael Johnson [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-05-18 17:13 [PATCH] dhcp: CLIENT_ENTER_STATE should log as INFO Denis Kenzior
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=20220518165836.180763-1-mjohnson459@gmail.com \
--to=ell@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).