From 73762de18c5032984e507f2430e0d3a9744af878 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 18 Jul 2022 08:06:56 +0930 Subject: [PATCH] lightningd: reduce log level for remote address reporting. It's available in listpeers() if you want to see it, otherwise it's not really something users want to see in the normal course of operation. Signed-off-by: Rusty Russell --- lightningd/peer_control.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightningd/peer_control.c b/lightningd/peer_control.c index afb4ea0d2..a510dbcfa 100644 --- a/lightningd/peer_control.c +++ b/lightningd/peer_control.c @@ -1202,8 +1202,8 @@ void peer_connected(struct lightningd *ld, const u8 *msg) /* Log and update remote_addr for Nat/IP discovery. */ if (hook_payload->remote_addr) { - log_peer_info(ld->log, &id, "Peer says it sees our address as: %s", - fmt_wireaddr(tmpctx, hook_payload->remote_addr)); + log_peer_debug(ld->log, &id, "Peer says it sees our address as: %s", + fmt_wireaddr(tmpctx, hook_payload->remote_addr)); peer->remote_addr = tal_dup(peer, struct wireaddr, hook_payload->remote_addr); /* Currently only from peers we have a channel with, until we