mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
channeld: rely on io_logging, not our own boutique logging.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
c01f3267d5
commit
99e246becd
2 changed files with 2 additions and 4 deletions
|
@ -204,7 +204,7 @@ static bool peer_write_pending(struct peer *peer)
|
|||
if (!msg)
|
||||
return false;
|
||||
|
||||
status_trace("peer_out %s", wire_type_name(fromwire_peektype(msg)));
|
||||
status_io(LOG_IO_OUT, msg);
|
||||
peer->peer_outmsg = cryptomsg_encrypt_msg(peer, &peer->cs, take(msg));
|
||||
peer->peer_outoff = 0;
|
||||
return true;
|
||||
|
|
|
@ -29,7 +29,7 @@ static void handle_ping(const u8 *msg,
|
|||
io_error("Bad ping received", arg);
|
||||
}
|
||||
|
||||
status_trace("Got ping, sending %s", pong ?
|
||||
status_debug("Got ping, sending %s", pong ?
|
||||
wire_type_name(fromwire_peektype(pong))
|
||||
: "nothing");
|
||||
|
||||
|
@ -55,8 +55,6 @@ u8 *read_peer_msg_(const tal_t *ctx,
|
|||
if (!msg)
|
||||
io_error("reading from peer", arg);
|
||||
|
||||
status_trace("peer_in %s", wire_type_name(fromwire_peektype(msg)));
|
||||
|
||||
if (is_gossip_msg(msg)) {
|
||||
/* Forward to gossip daemon */
|
||||
wire_sync_write(gossip_fd, take(msg));
|
||||
|
|
Loading…
Add table
Reference in a new issue