PageRenderTime 3144ms queryFilters 0ms Sphinxql 3006ms GetByIds 104ms meta 0ms repositoryFilters 13ms languageFilters 0ms sourceFilters 1ms

140,565 results for 'php log repo:anton_orlov/link-finder' (3144 ms)

Source

Language

Repository

autoloader.class.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 463 lines
108         'FileProperties' => '/filesystem/file_properties.class.php',
109         'FileLogger' => '/filesystem/file_logger.class.php',
110         'Path' => '/filesystem/path.class.php',
273         'OnlineLog' => '/ims/chamilo/log.class.php',
274         'EmptyLog' => '/ims/chamilo/log.class.php',
275         'ObjectCache' => '/ims/chamilo/object_cache.class.php',
343         'DefaultMail' => '/mail/default/default_mail.class.php',
344         'PhpmailerMail' => '/mail/phpmailer/phpmailer_mail.class.php',
345         'MimeUtil' => '/mime/mime_util.class.php',
403         'data_class_generator\DataClassGenerator' => '/util/data_class_generator/data_class_generator/data_class_generator.class.php',
404         'application\discovery\module\profile\implementation\bamaflex\PreviousCollege' => '/util/data_class_generator/xml_schemas/php/application/discovery/module/profile/implementation/bamaflex/php/lib/previous_college.class.php',
405         'application\discovery\module\profile\implementation\bamaflex\PreviousUniversity' => '/util/data_class_generator/xml_schemas/php/application/discovery/module/profile/implementation/bamaflex/php/lib/previous_university.class.php',
405         'application\discovery\module\profile\implementation\bamaflex\PreviousUniversity' => '/util/data_class_generator/xml_schemas/php/application/discovery/module/profile/implementation/bamaflex/php/lib/previous_university.class.php',
406         'application\elude\MatterhornRightsLocationEntityRight' => '/util/data_class_generator/xml_schemas/php/application/elude/php/lib/matterhorn_rights_location_entity_right.class.php',
407         'RssIconGenerator' => '/util/rss_icon_generator/rss_icon_generator.class.php',
rest.class.php http://miacms.googlecode.com/svn/trunk/ | PHP | 336 lines
42
43class mosRestLog extends mosDBTable {
44	/** @public int Primary key */
57	 */
58	function mosRestLog() {
59		global $database;
59		global $database;
60		$this->mosDBTable( '#__rest_log', 'id', $database );
61	}
140		$log_api_requests = '';
141		require($mosConfig_absolute_path.'/administrator/components/com_rest/config.rest.php');
142		//Log request for tracking purposes if enabled
311	 * Converts and object to an array
312	 * Code comes from PHP.net comments - http://us2.php.net/manual/en/function.get-object-vars.php#62470
313	 */
file.php http://hppg.googlecode.com/svn/trunk/ | PHP | 325 lines
2/**
3 * $Header: /home/ppcvs/paypal_php_sdk/Log/file.php,v 1.1 2006/02/19 08:22:29 dennis Exp $
4 *
9/**
10 * The Log_file class is a concrete implementation of the Log abstract
11 * class that logs messages to a text file.
269     * Logs $message to the output window.  The message is also passed along
270     * to any Log_observer instances that are observing this Log.
271     *
274     *                  values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT,
275     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
276     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
309
310        /* Write the log line to the log file. */
311        $success = (fwrite($this->_fp, $line) !== false);
SQLFunctionTest.class.php git://github.com/xp-framework/xp-framework.git | PHP | 395 lines
201      'datename(hour, getdate())',
202      'php(\'strval\', php(\'idate\', "H", php(\'strtotime\', php(\'date\', \'Y-m-d H:i:s\', php(\'time\')))))',
203      create(new \rdbms\Criteria())->setProjection(SQLFunctions::datename('hour', SQLFunctions::getdate()))
247      'log10(power(10, 5))',
248      'php(\'log10\', php(\'pow\', 10, 5))',
249      create(new \rdbms\Criteria())->setProjection(SQLFunctions::log10(SQLFunctions::power(10, 5)))
254      'power(10, log10(5))',
255      'php(\'pow\', 10, php(\'log10\', 5))',
256      create(new \rdbms\Criteria())->setProjection(SQLFunctions::power(10, SQLFunctions::log10(5)))
261      'round(1.5, 0) as "roundtest1", round(1.49, 0) as "roundtest2", round(1.49, 1) as "roundtest3"',
262      'php(\'round\', 1.5, 0) as \'roundtest1\', php(\'round\', 1.49, 0) as \'roundtest2\', php(\'round\', 1.49, 1) as \'roundtest3\'',
263      create(new \rdbms\Criteria())->setProjection(\rdbms\criterion\Projections::ProjectionList()
383      'where job_id = ceil(asin(sin(0.125)))',
384      'where job_id = php(\'ceil\', php(\'asin\', php(\'sin\', 0.125)))',
385      create(new \rdbms\Criteria())->add(Restrictions::equal('job_id', SQLFunctions::ceil(SQLFunctions::asin(SQLFunctions::sin(0.125)))))
config.php git://pkgs.fedoraproject.org/ser | PHP | 380 lines
2/*
3 * $Id: config.php,v 1.18.2.4 2005/06/27 09:15:35 kozlik Exp $
4 */
150	/* When you enable loging be sure if you have instaleld PEAR package
151	   Log. See http://pear.php.net/manual/en/installation.getting.php 
152	   for more information
155	$config->enable_loging = false;
156	$config->log_file = "/var/log/serweb";
157
159		  PEAR_LOG_EMERG, PEAR_LOG_ALERT, PEAR_LOG_CRIT, PEAR_LOG_ERR, 
160		  PEAR_LOG_WARNING, PEAR_LOG_NOTICE, PEAR_LOG_INFO, PEAR_LOG_DEBUG
161	   see http://www.indelible.org/pear/Log/guide.php#log-levels for more info
162	 */
163	$config->log_level = "PEAR_LOG_WARNING";
164	
file.php https://bitbucket.org/wayfarer/verse.git | PHP | 312 lines
2/**
3 * $Header: /repository/pear/Log/Log/file.php,v 1.45 2006/01/11 07:56:37 jon Exp $
4 *
9/**
10 * The Log_file class is a concrete implementation of the Log abstract
11 * class that logs messages to a text file.
257     * Logs $message to the output window.  The message is also passed along
258     * to any Log_observer instances that are observing this Log.
259     *
262     *                  values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT,
263     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
264     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
297
298        /* Write the log line to the log file. */
299        $success = (fwrite($this->_fp, $line) !== false);
InnomaticContainer.php https://bitbucket.org/innoteam/innomatic.git | PHP | 1,572 lines
779                    require_once('innomatic/logging/Logger.php');
780                    $log = new Logger($phpLog);
781                    $log->logEvent(
806                    require_once('innomatic/logging/Logger.php');
807                    $log = new Logger($phpLog);
808                    $log->logEvent(
859                    require_once('innomatic/logging/Logger.php');
860                    $log = new Logger($phpLog);
861                    $log->logEvent(
911                    require_once('innomatic/logging/Logger.php');
912                    $log = new Logger($phpLog);
913                    $log->logEvent(
937                    require_once('innomatic/logging/Logger.php');
938                    $log = new Logger($phpLog);
939                    $log->logEvent(
file.php https://github.com/DigitalCityMechanics/PeopleAggregator.git | PHP | 337 lines
14/**
15 * $Header: /repository/pear/Log/Log/file.php,v 1.44 2005/09/19 04:24:14 jon Exp $
16 *
21/**
22 * The Log_file class is a concrete implementation of the Log abstract
23 * class that logs messages to a text file.
48    /**
49     * Should new log entries be append to an existing log file, or should the
50     * a new log file overwrite an existing one?
287     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
288     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
289     * @return boolean  True on success or false on failure.
321
322        /* Write the log line to the log file. */
323        $success = (fwrite($this->_fp, $line) !== false);
compatibility.php https://bitbucket.org/kristovaher/wave-framework | PHP | 445 lines
71				if(version_compare($phpVersion,'5.3.0')>=0){
72					$log[]='<span class="bold">SUCCESS</span>: PHP is version 5.3.0 or above (running '.$phpVersion.')';
73				} else {
73				} else {
74					$log[]='<span class="bold red"><span class="bold red">FAILURE</span></span>: PHP is running older version than 5.3, Wave Framework has not been tested on older versions of PHP';
75				}
76			} else {
77				$log[]='<span class="bold orange">WARNING</span>: Unable to detect PHP version number, Wave Framework requires PHP version 5.3 or above';
78			}
83			} else {
84				$log[]='<span class="bold orange">WARNING</span>: PHP setting short_open_tag is turned off, default View controller requires this to work properly, if this is not possible then edit /controllers/controller.view.php and example view files in /views/ folder';
85			}
353			} else {
354				$log[]='<span class="bold orange">WARNING</span>: /filesystem/logs/ is not writable, this warning can be ignored if performance logging is not used by Index Gateway';
355			}
Ux.php https://bitbucket.org/web3d/uxf | PHP | 303 lines
1<?php
2//内核路径
123                                    else
124                                            throw new UxException('Alias "'.$alias.'" is invalid. Make sure it points to an existing PHP file and the file is readable.');
125                                    self::$_imports[$alias]=$alias;
153                            {
154                                    if(is_file($path.'.php'))
155                                            require($path.'.php');
156                                    else
157                                            throw new UxException('Alias "'.$alias.'" is invalid. Make sure it points to an existing PHP file and the file is readable.');
158                                    self::$_imports[$alias]=$className;
270        //log
271        'UxLogger' => 'log/UxLogger.php',
272        'IUxLogger' => 'log/adapter/IUxLogger.php',
272        'IUxLogger' => 'log/adapter/IUxLogger.php',
273        'UxFileLogger' => 'log/adapter/UxFileLogger.php',
274        'UxDbLogger' => 'log/adapter/UxDbLogger.php',
0.1.1.php https://code.google.com/p/ecartcommerce/ | PHP | 125 lines
82        Ecart::single('core/config_field')
83            ->add('log', 'Log', null, null, array('translation_module' => 'Ecart_Log'))
84            ->add('log/main/enabled', 'Log/General/Enabled', 1, 'bool')
84            ->add('log/main/enabled', 'Log/General/Enabled', 1, 'bool')
85            ->add('log/main/php', 'Php log', '/var/logs/php.log', 'string', 'Path relative to ECART_ROOT')
86            ->add('log/main/payment', 'Payment log', '/var/logs/payment.log', 'string', 'Path relative to ECART_ROOT')
86            ->add('log/main/payment', 'Payment log', '/var/logs/payment.log', 'string', 'Path relative to ECART_ROOT')
87            ->add('log/main/shipping', 'Shipping log', '/var/logs/shipping.log', 'string', 'Path relative to ECART_ROOT');
88
89        Ecart::single('admin/menu')
90            ->add('Catalog', null, 20, 'Ecart_Catalog')
91            ->add('Catalog->Reports', null, 60, 'Ecart_Admin')
94        Ecart::single('admin/acl_resource')
95            ->add('admin/log', 'Log Pageviws')
96            ->add("admin/log/index")
file.php https://bitbucket.org/chamilo/chamilo/ | PHP | 317 lines
9/**
10 * The Log_file class is a concrete implementation of the Log abstract
11 * class that logs messages to a text file.
26     */
27    var $_filename = 'php.log';
28
261     * Logs $message to the output window.  The message is also passed along
262     * to any Log_observer instances that are observing this Log.
263     *
266     *                  values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT,
267     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
268     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
301
302        /* Write the log line to the log file. */
303        $success = (fwrite($this->_fp, $line) !== false);
LogTest.php git://github.com/ruflin/Elastica.git | PHP | 66 lines
15	public function testSetLogConfigPath() {
16		$logPath = '/tmp/php.log';
17		$client = new Elastica_Client(array('log' => $logPath));
32		$client = new Elastica_Client();
33		$log = new Elastica_Log($client);
34		
40	public function testGetLastMessage() {
41		$client = new Elastica_Client(array('log' => '/tmp/php.log'));
42		$log = new Elastica_Log($client);
55		$errorLog = ini_get('error_log');
56		ini_set('error_log', sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'php.log');
57		
59	
60		$log->log($message);
61		
Atomik.php http://atomikframework.googlecode.com/svn/trunk/ | PHP | 3,022 lines
250            'error'              => ATOMIK_APP_ROOT . '/error.php',
251            'log'                => ATOMIK_APP_ROOT . '/log.txt'
252        ),
533        } catch (Exception $e) {
534            self::log('[EXCEPTION: ' . $e->getCode() . '] ' . $e->getMessage(), LOG_ERR);
535            self::fireEvent('Atomik::Error', array($e));
724            
725            self::log('Dispatching action ' . $request['action'], LOG_DEBUG);
726            $vars = array();
763            if ($e->getCode() == 404) {
764                self::log('[404 NOT FOUND] ' . $e->getMessage(), LOG_ERR);
765                self::fireEvent('Atomik::404', array($e));
797        
798        self::log('Ending', LOG_DEBUG);
799        exit;
testwebservice.php git://github.com/moodle/moodle.git | PHP | 1,575 lines
1<?php
2
117
118            //Does not work till XML => PHP is implemented (MDL-22965)
119            if ($this->testrest) {
122
123                require_once($CFG->dirroot . "/webservice/rest/lib.php");
124                $restclient = new webservice_rest_client($CFG->wwwroot
124                $restclient = new webservice_rest_client($CFG->wwwroot
125                                . '/webservice/rest/server.php', $this->testtoken);
126
264
265            //Display the content of $coursecontents in your php log and check if you obtain
266            //what you are expecting
1534        $message2['text'] = 'this is a message with an image
1535            http://moodle.org/pluginfile.php/51/mod_forum/post/713724/moodle2-logo.png';
1536        $message2['touserid'] = 2;  //replace by a existing user id
Atomik.php http://atomikframework.googlecode.com/svn/trunk/ | text | 0 lines
250            'error'              => ATOMIK_APP_ROOT . '/error.php',
251            'log'                => ATOMIK_APP_ROOT . '/log.txt'
252        ),
1898        // loads the plugin
1899        self::log('Loading plugin ' . $plugin, LOG_DEBUG);
1900        self::instance()->scoped($filename, array('config' => $config));
2152        
2153        self::log('Dispatching pluggable application: ' . $plugin, LOG_DEBUG);
2154        
2883    /**
2884     * Fire an Atomik::Log event to which logger can listen
2885     * 
2894    /**
2895     * Default logger: log the message to the file defined in atomik/files/log
2896     * The message template can be define in atomik/log/message_template
config.php git://github.com/newscloud/open-social-media-toolkit.git | PHP | 267 lines
1<?php
2	/* INSTALLATION MENU */
67	//$menu.='<li><a href="?p=config&action=resetDB&apiKey='.$apiKey.'">Reset the database</a> - erases everything</li>';
68	//$menu.='<li><a href="?p=config&action=resetLog&apiKey='.$apiKey.'">Reset the log</a> - erases all user activities</li>';
69		
86		case 'removeTestData':
87			include_once PATH_CORE."utilities/removeTestData.php";			
88		break;
202		if (defined('NO_LOGGING') AND NO_LOGGING) {	
203			$warnings.='<p><span style="color:orange;"><strong>NOTICE: Logging is turned off</strong></span> You can turn it on constants.php. You will need to touch and permission the specified /var/logs/*.log files for Apache to write to.</p>';
204		} else {
205			try {	
206				$tempStr=' <p><span style="color:red;"><strong>WARNING:</strong></span> Logging problem - could not open or write to '.PATH_LOGFILE.' - create the file e.g. touch '.PATH_LOGFILE.', then set ownership for Apache Web service e.g. chown www-data:www-data '.PATH_LOGFILE.'</p>';
207				$handle = fopen(PATH_LOGFILE, "a");
210				else {
211					$res=fwrite($handle,"config.php log test");
212					if (!$res) $warnings.=$tempStr;									
file.php git://github.com/matamouros/cintient.git | PHP | 321 lines
9/**
10 * The Log_file class is a concrete implementation of the Log abstract
11 * class that logs messages to a text file.
26     */
27    var $_filename = 'php.log';
28
36    /**
37     * Should new log entries be append to an existing log file, or should the
38     * a new log file overwrite an existing one?
267     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
268     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
269     * @return boolean  True on success or false on failure.
306
307        /* Write the log line to the log file. */
308        $success = (fwrite($this->_fp, $line) !== false);
file.php https://bitbucket.org/davidmpaz/ezpdo.git | PHP | 267 lines
4/**
5 * The Log_file class is a concrete implementation of the Log abstract
6 * class that logs messages to a text file.
180    /**
181     * Opens the log file for output.  If the specified log file does not
182     * already exist, it will be created.  By default, new log entries are
231     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
232     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
233     *                  The default is PEAR_LOG_INFO.
236     */
237    function log($message, $priority = PEAR_LOG_INFO)
238    {
256
257        /* Write the log line to the log file. */
258        $success = (fwrite($this->_fp, $line) !== false);
Filter.php https://bitbucket.org/haggen/ibsolution-log-viewer.git | PHP | 264 lines
44 * @version    CVS: $Id: Filter.php,v 1.32.2.5 2005/12/17 16:04:58 sebastian Exp $
45 * @link       http://pear.php.net/package/PHPUnit2
46 * @since      File available since Release 2.0.0
99      'PHPUnit2/Util/Log/PEAR.php',
100      'PHPUnit2/Util/Log/XML.php',
101      'PHPUnit2/Util/TestDox/ResultPrinter/HTML.php',
112      'Log/composite.php',
113      'Log/console.php',
114      'Log/display.php',
120      'Log/observer.php',
121      'Log/sql.php',
122      'Log/sqlite.php',
122      'Log/sqlite.php',
123      'Log/syslog.php',
124      'Log/win.php',
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21