removing some extraneous debug logging

This commit is contained in:
James Walker 2010-02-26 16:25:47 -05:00
parent b0acaeafe3
commit c82cee1876

View File

@ -57,8 +57,6 @@ class Salmon
$headers = array('Content-Type: application/magic-envelope+xml'); $headers = array('Content-Type: application/magic-envelope+xml');
common_log(LOG_DEBUG, "Salmon: going to post " . $xml);
try { try {
$client = new HTTPClient(); $client = new HTTPClient();
$client->setBody($xml); $client->setBody($xml);
@ -95,7 +93,6 @@ class Salmon
try { try {
$env = $magic_env->signMessage($text, 'application/atom+xml', $magickey->toString()); $env = $magic_env->signMessage($text, 'application/atom+xml', $magickey->toString());
} catch (Exception $e) { } catch (Exception $e) {
common_log(LOG_ERR, "Salmon signing failed: ". $e->getMessage());
return $text; return $text;
} }
return $magic_env->toXML($env); return $magic_env->toXML($env);
@ -104,7 +101,6 @@ class Salmon
public function verifyMagicEnv($text) public function verifyMagicEnv($text)
{ {
common_log(LOG_DEBUG, "Going to verify ". $text);
$magic_env = new MagicEnvelope(); $magic_env = new MagicEnvelope();
$env = $magic_env->parse($text); $env = $magic_env->parse($text);