andre пре 1 година
родитељ
комит
e91b1bde4b

+ 0 - 8
app/Libs/Zimbra/Components/Api/Soap/Connection.php

@@ -328,14 +328,6 @@ class Connection implements ConnectionInterface
             ->setXmlResponse($soapRes)
             ->setXmlResponse($soapRes)
             ->response();
             ->response();
     
     
-            logModuleCall(
-                'zimbraEmail',
-                __FUNCTION__,
-                $response,
-                "Debug",
-                $soapRes
-            );
-
             return $response;
             return $response;
     }
     }
 
 

+ 27 - 0
app/Libs/Zimbra/Components/Api/Soap/MySoapClient.php

@@ -31,6 +31,19 @@ class MySoapClient extends SoapClient
             $request = str_replace(array('ns1:DistributionListActionRequest', 'xmlns:ns2="urn:zimbra"'), array('ns2:DistributionListActionRequest', 'xmlns:ns2="urn:zimbraAccount"'), $request);
             $request = str_replace(array('ns1:DistributionListActionRequest', 'xmlns:ns2="urn:zimbra"'), array('ns2:DistributionListActionRequest', 'xmlns:ns2="urn:zimbraAccount"'), $request);
         }
         }
 
 
+        logModuleCall(
+            'zimbraEmail',
+            __FUNCTION__,
+            [
+                $request,
+                $location,
+                $action,
+                $version
+            ],
+            "Debug: request, location, action, version",
+            $this
+        );
+
         return parent::__doRequest($request, $location, $action, $version);
         return parent::__doRequest($request, $location, $action, $version);
     }
     }
 
 
@@ -44,6 +57,20 @@ class MySoapClient extends SoapClient
      */
      */
     public function __soapCall($function_name, array $arguments, array $options = null, $input_headers = null, array &$output_headers = null)
     public function __soapCall($function_name, array $arguments, array $options = null, $input_headers = null, array &$output_headers = null)
     {
     {
+        logModuleCall(
+            'zimbraEmail',
+            __FUNCTION__,
+            [
+                $function_name,
+                $arguments,
+                $options,
+                $input_headers,
+                $output_headers
+            ],
+            "Debug: function_name, arguments, options, input_headers, output_headers",
+            $this
+        );
+
         //todo logg
         //todo logg
         return parent::__soapCall($function_name, $arguments, $options, $input_headers, $output_headers); // TODO: Change the autogenerated stub
         return parent::__soapCall($function_name, $arguments, $options, $input_headers, $output_headers); // TODO: Change the autogenerated stub
     }
     }