common: log at debug level when we update billboard.

Makes for easier postmortem.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2021-06-28 13:52:03 +09:30
parent e27eaa9343
commit 1a74d8284c

View file

@ -12,6 +12,7 @@ void peer_billboard(bool perm, const char *fmt, ...)
str = tal_vfmt(NULL, fmt, ap); str = tal_vfmt(NULL, fmt, ap);
va_end(ap); va_end(ap);
status_debug("billboard%s: %s", perm ? " perm" : "", str);
status_send(take(towire_status_peer_billboard(NULL, perm, str))); status_send(take(towire_status_peer_billboard(NULL, perm, str)));
tal_free(str); tal_free(str);
} }