diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-05 01:24:41 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-05 01:24:41 +0000 |
commit | 492d334b463380dbefe8a1df8d50a7d9109c7cab (patch) | |
tree | 4ba2e3c1014a0e80cf42235d25ec614c8696d6a7 /etc/inc/dyndns.class | |
parent | 930c30dcc8f0815f93ca1e892b392107430cc19a (diff) | |
download | pfsense-492d334b463380dbefe8a1df8d50a7d9109c7cab.zip pfsense-492d334b463380dbefe8a1df8d50a7d9109c7cab.tar.gz |
Log the payload when the operation fails for developer debugging
Diffstat (limited to 'etc/inc/dyndns.class')
-rw-r--r-- | etc/inc/dyndns.class | 7 |
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; |