mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
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:
parent
e27eaa9343
commit
1a74d8284c
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue