Skip to content

Commit 4f7df82

Browse files
endothermicdevrustyrussell
authored andcommitted
gossipd, chanbackup: reduce logging levels
The vast majority of incoming channel updates seem to be cut due to age, which results in noisy logs. Similarly, the chanbackup logging verbosity might better match the equivalent actions in channeld, which are at the debug level. Fixes: #8058 Changelog-None: introduced in 25.02
1 parent 79b28eb commit 4f7df82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gossipd/gossmap_manage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ static const char *process_channel_update(const tal_t *ctx,
824824
u32 prev_timestamp
825825
= gossip_store_get_timestamp(gm->gs, chan->cupdate_off[dir]);
826826
if (prev_timestamp >= timestamp) {
827-
status_debug("Too-old update for %s",
827+
status_trace("Too-old update for %s",
828828
fmt_short_channel_id(tmpctx, scid));
829829
/* Too old, ignore */
830830
return NULL;

plugins/chanbackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ static struct command_result *after_staticbackup(struct command *cmd,
543543
const jsmntok_t *scbs = json_get_member(buf, params, "scb");
544544
struct out_req *req;
545545
json_to_scb_chan(buf, scbs, &scb_chan);
546-
plugin_log(cmd->plugin, LOG_INFORM, "Updating the SCB");
546+
plugin_log(cmd->plugin, LOG_DBG, "Updating the SCB");
547547

548548
update_scb(cmd->plugin, scb_chan);
549549
struct info *info = tal(cmd, struct info);

0 commit comments

Comments
 (0)