summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-05 01:24:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-05 01:24:41 +0000
commit492d334b463380dbefe8a1df8d50a7d9109c7cab (patch)
tree4ba2e3c1014a0e80cf42235d25ec614c8696d6a7 /etc
parent930c30dcc8f0815f93ca1e892b392107430cc19a (diff)
downloadpfsense-492d334b463380dbefe8a1df8d50a7d9109c7cab.zip
pfsense-492d334b463380dbefe8a1df8d50a7d9109c7cab.tar.gz
Log the payload when the operation fails for developer debugging
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/dyndns.class7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class
index aac5836..e66946b 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -267,6 +267,7 @@
$status = "phpDynDNS: (Error) User Authorization Failed";
} else {
$status = "phpDynDNS: (Unknown Response)";
+ log_error("phpDynDNS: PAYLOAD: {$data}");
$this->_debug($data);
}
break;
@@ -281,6 +282,7 @@
$status = "phpDynDNS: (Error) User Authorization Failed";
} else {
$status = "phpDynDNS: (Unknown Response)";
+ log_error("phpDynDNS: PAYLOAD: {$data}");
$this->_debug($data);
}
break;
@@ -295,6 +297,7 @@
$status = "phpDynDNS: (Error) User Authorization Failed";
} else {
$status = "phpDynDNS: (Unknown Response)";
+ log_error("phpDynDNS: PAYLOAD: {$data}");
$this->_debug($data);
}
break;
@@ -373,6 +376,7 @@
$status = "phpDynDNS: (Success) IP Updated Successfully!";
} else {
$status = "phpDynDNS: (Unknown Response)";
+ log_error("phpDynDNS: PAYLOAD: {$data}");
$this->_debug($data);
}
break;
@@ -385,6 +389,7 @@
$status = "phpDynDNS: (Success) IP Address Updated Successfully!";
} else {
$status = "phpDynDNS: (Unknown Response)";
+ log_error("phpDynDNS: PAYLOAD: {$data}");
$this->_debug($data);
}
break;
@@ -401,6 +406,7 @@
$status = "phpDynDNS: (Success) IP Address Updated Successfully!";
} else {
$status = "phpDynDNS: (Unknown Response)";
+ log_error("phpDynDNS: PAYLOAD: {$data}");
$this->_debug($data);
}
break;
@@ -409,6 +415,7 @@
$status = "phpDynDNS: (Success) IP Address Updated Successfully!";
} else {
$status = "phpDynDNS: (Unknown Response)";
+ log_error("phpDynDNS: PAYLOAD: {$data}");
$this->_debug($data);
}
break;
OpenPOWER on IntegriCloud