From: Roland Haeder Date: Sat, 15 Feb 2014 21:33:51 +0000 (+0100) Subject: Commented out noisy debug line + logged array 'recipients'. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9b0ef81b2ffc13a5d86bdd2bf418a12edb055193;p=hub.git Commented out noisy debug line + logged array 'recipients'. Signed-off-by: Roland Haeder --- diff --git a/application/hub/main/dht/class_BaseDht.php b/application/hub/main/dht/class_BaseDht.php index c5ef97b97..21b5f8d24 100644 --- a/application/hub/main/dht/class_BaseDht.php +++ b/application/hub/main/dht/class_BaseDht.php @@ -209,9 +209,9 @@ abstract class BaseDht extends BaseHubSystem { assert(is_array($entry)); // Remove any non-public data the database layer desires - /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT[' . $this->__toString() . ']: Calling this->getWrapperInstance()->removeNonPublicDataFromArray(data) ...'); + //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT[' . $this->__toString() . ']: Calling this->getWrapperInstance()->removeNonPublicDataFromArray(data) ...'); $entry = $this->getWrapperInstance()->removeNonPublicDataFromArray($entry); - /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT[' . $this->__toString() . ']: entry[]=' . gettype($entry)); + //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT[' . $this->__toString() . ']: entry[]=' . gettype($entry)); // Some sanity-checks again assert(is_array($entry)); diff --git a/application/hub/main/recipient/dht/class_DhtRecipient.php b/application/hub/main/recipient/dht/class_DhtRecipient.php index 1f0bd9d33..58266fd07 100644 --- a/application/hub/main/recipient/dht/class_DhtRecipient.php +++ b/application/hub/main/recipient/dht/class_DhtRecipient.php @@ -69,7 +69,7 @@ class DhtRecipient extends BaseRecipient implements Recipient { // "Discover" recipients by given package data $recipients = $discoverInstance->resolveRecipientsByPackageData($packageData); - $this->partialStub('Please implement this method. recipient=' . $recipient); + $this->partialStub('Please implement this method. recipient=' . $recipient . ',recipients=' . print_r($recipients, TRUE)); } }