[Vtigercrm-commits] [vtiger-commits] r9194 - /vtigercrm/trunk/include/nusoap/nusoap.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Aug 29 12:05:05 EDT 2006
Author: richie
Date: Tue Aug 29 10:04:57 2006
New Revision: 9194
Log:
SOAP log redirected to soap.log under logs folder --Jeri
Modified:
vtigercrm/trunk/include/nusoap/nusoap.php
Modified: vtigercrm/trunk/include/nusoap/nusoap.php
==============================================================================
--- vtigercrm/trunk/include/nusoap/nusoap.php (original)
+++ vtigercrm/trunk/include/nusoap/nusoap.php Tue Aug 29 10:04:57 2006
@@ -1,5 +1,6 @@
<?php
+require_once('include/logging.php');
/*
$Id: nusoap.php,v 1.94 2005/08/04 01:27:42 snichol Exp $
@@ -53,7 +54,8 @@
// class variable emulation
// cf. http://www.webkreator.com/php/techniques/php-static-class-variables.html
$GLOBALS['_transient']['static']['nusoap_base']->globalDebugLevel = 9;
-
+global $soap_log;
+$soap_log =& LoggerManager::getLogger('SOAP');
/**
*
* nusoap_base
@@ -112,7 +114,7 @@
* @var integer
* @access private
*/
- var $debugLevel;
+ var $debugLevel = 9;
/**
* set schema version
@@ -196,6 +198,8 @@
*/
var $xmlEntities = array('quot' => '"','amp' => '&',
'lt' => '<','gt' => '>','apos' => "'");
+
+
/**
* constructor
@@ -268,6 +272,8 @@
if ($this->debugLevel > 0) {
// it would be nice to use a memory stream here to use
// memory more efficiently
+ global $soap_log;
+ $soap_log->debug($string);
$this->debug_str .= $string;
}
}
More information about the vtigercrm-commits
mailing list