Skip to content

Commit

Permalink
revert log level change in relayers
Browse files Browse the repository at this point in the history
  • Loading branch information
pm47 committed Nov 30, 2020
1 parent c7ca7b0 commit e4270fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ object ChannelRelayer {
case Some(nextNodeId) => node2channels.get(nextNodeId).map(channelUpdates).map(c => c.channelUpdate.shortChannelId -> c).toMap
case None => Map.empty
}
context.log.info(s"spawning a new handler with relayId=$relayId to nextNodeId={} with channels={}", nextNodeId_opt.getOrElse(""), channels.keys.mkString(","))
context.log.debug(s"spawning a new handler with relayId=$relayId to nextNodeId={} with channels={}", nextNodeId_opt.getOrElse(""), channels.keys.mkString(","))
context.spawn(ChannelRelay.apply(nodeParams, register, channels, relayId, channelRelayPacket), name = relayId.toString)
Behaviors.same

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ object NodeRelayer {
handler.unsafeUpcast[NodeRelay.Command] // we know that all children are of type NodeRelay
case None =>
val relayId = UUID.randomUUID()
context.log.info(s"spawning a new handler with relayId=$relayId")
context.log.debug(s"spawning a new handler with relayId=$relayId")
// we index children by paymentHash, not relayId, because there is no concept of individual payment on LN
context.spawn(NodeRelay.apply(nodeParams, router, register, relayId, paymentHash), name = paymentHash.toString)
}
Expand Down

0 comments on commit e4270fc

Please sign in to comment.