Skip to content

Commit 291c128

Browse files
authored
Reduce some log levels (#1864)
1 parent 4ca5c62 commit 291c128

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eclair-core/src/main/scala/fr/acinq/eclair/channel/Channel.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ class Channel(val nodeParams: NodeParams, val wallet: EclairWallet, remoteNodeId
10221022
log.debug("not sending a new identical channel_update, current one was created {} days ago", age.toDays)
10231023
stay
10241024
case _ =>
1025-
log.info("refreshing channel_update announcement (reason={})", reason)
1025+
log.debug("refreshing channel_update announcement (reason={})", reason)
10261026
// we use GOTO instead of stay because we want to fire transitions
10271027
goto(NORMAL) using d.copy(channelUpdate = channelUpdate1) storing()
10281028
}
@@ -1038,7 +1038,7 @@ class Channel(val nodeParams: NodeParams, val wallet: EclairWallet, remoteNodeId
10381038
cancelTimer(Reconnected.toString)
10391039
// if we have pending unsigned htlcs, then we cancel them and advertise the fact that the channel is now disabled
10401040
val d1 = if (d.commitments.localChanges.proposed.collectFirst { case add: UpdateAddHtlc => add }.isDefined) {
1041-
log.info("updating channel_update announcement (reason=disabled)")
1041+
log.debug("updating channel_update announcement (reason=disabled)")
10421042
val channelUpdate = Announcements.makeChannelUpdate(nodeParams.chainHash, nodeParams.privateKey, remoteNodeId, d.shortChannelId, d.channelUpdate.cltvExpiryDelta, d.channelUpdate.htlcMinimumMsat, d.channelUpdate.feeBaseMsat, d.channelUpdate.feeProportionalMillionths, d.commitments.capacity.toMilliSatoshi, enable = false)
10431043
d.commitments.localChanges.proposed.collect {
10441044
case add: UpdateAddHtlc => relayer ! RES_ADD_SETTLED(d.commitments.originChannels(add.id), add, HtlcResult.Disconnected(channelUpdate))

0 commit comments

Comments
 (0)