Skip to content

Commit

Permalink
less verbose debug logging in ddata (akka#22384)
Browse files Browse the repository at this point in the history
* less verbose debug logging in ddata akka#22170

* less verbose debug logging in ddata 2 akka#22170
  • Loading branch information
ortigali authored and patriknw committed Feb 24, 2017
1 parent 2510f20 commit adf7e82
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ final class Replicator(settings: ReplicatorSettings) extends Actor with ActorLog

def receiveGet(key: KeyR, consistency: ReadConsistency, req: Option[Any]): Unit = {
val localValue = getData(key.id)
log.debug("Received Get for key [{}], local data [{}]", key, localValue)
log.debug("Received Get for key [{}]", key)
if (isLocalGet(consistency)) {
val reply = localValue match {
case Some(DataEnvelope(DeletedData, _, _)) DataDeleted(key, req)
Expand Down Expand Up @@ -1222,7 +1222,7 @@ final class Replicator(settings: ReplicatorSettings) extends Actor with ActorLog
}
} match {
case Success((envelope, delta))
log.debug("Received Update for key [{}], old data [{}], new data [{}], delta [{}]", key, localValue, envelope.data, delta)
log.debug("Received Update for key [{}]", key)

// handle the delta
delta match {
Expand Down

0 comments on commit adf7e82

Please sign in to comment.