[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
1 <?php 2 /********************************************************************************* 3 * The contents of this file are subject to the SugarCRM Public License Version 1.1.2 4 * ("License"); You may not use this file except in compliance with the 5 * License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL 6 * Software distributed under the License is distributed on an "AS IS" basis, 7 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for 8 * the specific language governing rights and limitations under the License. 9 * The Original Code is: SugarCRM Open Source 10 * The Initial Developer of the Original Code is SugarCRM, Inc. 11 * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.; 12 * All Rights Reserved. 13 * Contributor(s): ______________________________________. 14 ********************************************************************************/ 15 /********************************************************************************* 16 * $Header: /advent/projects/wesat/vtiger_crm/sugarcrm/include/logging.php,v 1.1 2004/08/17 13:23:37 gjayakrishnan Exp $ 17 * Description: Kicks off log4php. 18 ********************************************************************************/ 19 20 require_once ('config.php'); 21 22 // Performance Optimization: Configure the log folder 23 @include_once ('config.performance.php'); 24 global $PERFORMANCE_CONFIG; 25 if(isset($PERFORMANCE_CONFIG) && isset($PERFORMANCE_CONFIG['LOG4PHP_DEBUG']) && $PERFORMANCE_CONFIG['LOG4PHP_DEBUG']) { 26 define('LOG4PHP_DIR', 'libraries/log4php.debug'); 27 } else { 28 define('LOG4PHP_DIR', 'libraries/log4php'); 29 } 30 // END 31 define('LOG4PHP_DEFAULT_INIT_OVERRIDE', true); 32 33 require_once(LOG4PHP_DIR.'/LoggerManager.php'); 34 require_once(LOG4PHP_DIR.'/LoggerPropertyConfigurator.php'); 35 36 $config = new LoggerPropertyConfigurator(); 37 $config->configure('log4php.properties'); 38 39 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |