PageRenderTime 328ms queryFilters 1ms Sphinxql 106ms app.CodeModel.GetByIds 166ms findMatchingLines 33ms GetByIds 199ms meta 0ms repositoryFilters 15ms languageFilters 11ms sourceFilters 4ms

179,044 results for 'php log repo:skuda/rsslounge' (328 ms)

Source

Language

Repository

3-4-error-and-logging.md https://gitlab.com/lcp0578/blink.git | Markdown | 65 lines
6
7Blink 提供了一个构建在 Monolog 日志库之上、兼容 PSR-3 日志标准的日志服务组件。通过日志服务,我们可以轻松的把各种类型的消息记录到诸如文件、
8数据库、邮件等媒介中。
13'log' => [
14    'class' => 'blink\log\Logger',
15    'targets' => [
16        'file' => [
17            'class' => 'blink\log\StreamTarget',
18            'enabled' => true,
31// 获取日志服务的实例
32$log = app('log');
33
61
62Blink 中,所有的 PHP 错误都会自动转换成 `blink\core\ErrorException` 异常,通过这个特性,我们可以用 try ... catch 来捕获 PHP 错误。
63
02-03-03-from-opcode-to-handler.markdown git://github.com/reeze/tipi.git | Markdown | 183 lines
6>**NOTE**
7>从PHP5.1开始,PHP对opcode的分发方式可以用户自定义,分为CALL,SWITCH和GOTO三种类型。
8>默认使用的CALL的方式,本文也应用于这种方式。有关Zend虚拟机的介绍请阅读后面相关内容。
158	
159	   	 //很显然,我们把opcode和相对应的写到了/tmp/php.log文件中
160	   	 int op_index;
163	   	 FILE *stream;
164	   	 if((stream = fopen("/tmp/php.log", "a+")) != NULL){
165	   		 fprintf(stream, "opcode: %d , zend_opcode_handlers_index:%d\n", opcode, op_index);
174
175然后,就可以在**/tmp/php.log**文件中生成类似如下结果:
176
179
180前面的数字是opcode的,我们可以这里查到: http://php.net/manual/en/internals2.opcodes.list.php
181后面的数字是static const opcode_handler_t labels[] 索引,里面对应了处理函数的名称,
support.inc.php https://github.com/sfsergey/knowledgetree.git | PHP | 836 lines
607	/**
608	 * Get Php log file. KT makes a php_error_log when tweak setting is enabled.
609	 *
615		$logdir = $config->get('urls/logDirectory');
616		$logfile = $logdir . '/php_error_log';
617		if (file_exists($logfile))
618		{
619			copy($logfile, $path . '/php-error_log.txt');
620		}
679		$config = KTConfig::getSingleton();
680		$logdir = $config->get('urls/logDirectory');
681		$dh = opendir($logdir);
792		$contents .= $this->get_index_contents('<h2>System Info</h2>', $path . '/sysinfo');
793		$contents .= $this->get_index_contents('<h2>Logs</h2>', $path . '/logs');
794		$contents .= $this->get_index_contents('<h2>Schema</h2>', $path . '/schema');
autoload-test.html https://github.com/aaitxcoder/mobilize.js.git | HTML | 393 lines
218<input type="hidden" name="genseq" value="1298547858" />
219<p><input type="checkbox" name="subscribe" id="subscribe" value="subscribe" style="width: auto;" tabindex="6"/> <label class="subscribe-label" id="subscribe-label" for="subscribe">Notify me of follow-up comments via email.</label></p><p><input type="checkbox" name="subscribe_blog" id="subscribe_blog" value="subscribe" style="width: auto;" tabindex="7"/> <label class="subscribe-label" id="subscribe-blog-label" for="subscribe_blog">Notify me of site updates</label></p><input type="hidden" name="sub-type" value="comment-form-text4" /><p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="b14f536ad5" /></p>					</form>
220							</div><!-- #respond -->
251</li><li id="meta-2" class="widget-container widget_meta"><h3 class="widget-title">Meta</h3>			<ul>
252			<li><a href="http://mobilizejs.wordpress.com/wp-login.php?action=register">Register</a></li>			<li><a href="http://mobilizejs.wordpress.com/wp-login.php">Log in</a></li>
253			<li><a href="http://mobilizejs.wordpress.com/feed/" title="Syndicate this site using RSS 2.0">Entries <abbr title="Really Simple Syndication">RSS</abbr></a></li>
318					<div id="wpl-mustlogin"> \
319						<form action="http://mobilizejs.wordpress.com/wp-login.php" method="post"> \
320							<p>Just one more step to like this post:</p> \
320							<p>Just one more step to like this post:</p> \
321							<label><span>Username</span> <input type="text" name="log" id="user_login" class="input" value="" size="20" tabindex="80" /></label> \
322							<label><span>Password</span> <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" tabindex="81" /></label> \
345					'action': 'wpl_record_stat',
346					'stat_name': 'loggedout_login_submit'
347				}, function() {
wordpress-post-page.html https://github.com/aaitxcoder/mobilize.js.git | HTML | 394 lines
219<input type="hidden" name="genseq" value="1298547858" />
220<p><input type="checkbox" name="subscribe" id="subscribe" value="subscribe" style="width: auto;" tabindex="6"/> <label class="subscribe-label" id="subscribe-label" for="subscribe">Notify me of follow-up comments via email.</label></p><p><input type="checkbox" name="subscribe_blog" id="subscribe_blog" value="subscribe" style="width: auto;" tabindex="7"/> <label class="subscribe-label" id="subscribe-blog-label" for="subscribe_blog">Notify me of site updates</label></p><input type="hidden" name="sub-type" value="comment-form-text4" /><p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="b14f536ad5" /></p>					</form>
221							</div><!-- #respond -->
252</li><li id="meta-2" class="widget-container widget_meta"><h3 class="widget-title">Meta</h3>			<ul>
253			<li><a href="http://mobilizejs.wordpress.com/wp-login.php?action=register">Register</a></li>			<li><a href="http://mobilizejs.wordpress.com/wp-login.php">Log in</a></li>
254			<li><a href="http://mobilizejs.wordpress.com/feed/" title="Syndicate this site using RSS 2.0">Entries <abbr title="Really Simple Syndication">RSS</abbr></a></li>
319					<div id="wpl-mustlogin"> \
320						<form action="http://mobilizejs.wordpress.com/wp-login.php" method="post"> \
321							<p>Just one more step to like this post:</p> \
321							<p>Just one more step to like this post:</p> \
322							<label><span>Username</span> <input type="text" name="log" id="user_login" class="input" value="" size="20" tabindex="80" /></label> \
323							<label><span>Password</span> <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" tabindex="81" /></label> \
346					'action': 'wpl_record_stat',
347					'stat_name': 'loggedout_login_submit'
348				}, function() {
load.php http://xe8tmw7c.googlecode.com/svn/ | PHP | 170 lines
1<?php
2
4
5if(version_compare(PHP_VERSION, '5.0.0', '<')) trigger_error('Version de php non supportee',E_USER_ERROR);
6
16require_once('require/parse.php');
17require_once('require/cache.php');
18require_once('require/str.php');
18require_once('require/str.php');
19require_once('require/env.php');
20
35
36                        include_once(ONYX.'modules/'.$name.'/main.php');
37                    }
161
162if($ENV['log_php']) ini_set('error_log',ONYX.'log/php.log');
163
continuous_integration.xml https://bitbucket.org/chamilo/chamilo/ | XML | 85 lines
46    <!-- ============================================  -->
47    <target name="phpcb" depends="clean, prepare, phpunit-core-coverage, phpcpd, phpcs "  >
48        <echo message="Generating a browseable version of the codebase" />
49        <exec   dir="${basedir}"
50                command="php ${basedir}/script/phpcb.php --output ${build-codeBrowser-dir} --log ${basedir}/files/build/logs"
51                checkreturn="false"
60        <exec   dir="${basedir}"
61                command="php ${basedir}/script/phpcpd.php --log-pmd ${pmd-report-file} --exclude ${plugin-dir} ${classes-dirs-space}"
62                checkreturn="false"
72            dir="${basedir}"
73            command="php ${basedir}/script/phpcs.php --extensions=php --ignore=${plugin-dir} --report=checkstyle --report-file=${checkstyle-report-file} --standard=Chamilo2 ${classes-dirs-space}"
74            checkreturn="false"
82    <!-- ============================================  -->
83    <target name="generate-reports" depends="phpunit-core-coverage, phpcpd, phpcs, phpcb"  />
84    
import-greymatter.php http://core.svn.wordpress.org/ | PHP | 341 lines
69
70	$connexion = mysql_connect($server,$loginsql,$passsql) or die ("Oops, MySQL connection error ! Couldn't connect to $server with the username $loginsql");  
71	$bdd = mysql_select_db(DB_NAME,$connexion) or die ("Oops, can't find any database named DB_NAME here !"); 
89
90		$loginthere = $wpdb->get_var("SELECT user_login FROM $wpdb->users WHERE user_login = '$user_login'");
91		if ($loginthere) {
154				$user_joindate=addslashes($user_joindate);
155				$query = "INSERT INTO $wpdb->users (user_login,user_pass,user_nickname,user_email,user_url,user_ip,user_domain,user_browser,dateYMDhour,user_level,user_idmode) VALUES ('$user_login','$pass1','$user_nickname','$user_email','$user_url','$user_ip','$user_domain','$user_browser','$user_joindate','0','nickname')";
156				$result = mysql_query($query);
256<p>Completed GM 2 b2 import !</p>
257<p>Now you can go and <a href="wp-login.php">log in</a>, have fun !</p>
258	<?php
300<ul>
301<li>parse gm-counter.cgi (what's the use of that file ?), gm-banlist.cgi, gm-cplog.cgi (you can make a CP log hack if you really feel like it, but I question the need of a CP log)</li>
302<li>import gm-templates. you'll start with the basic template wp.php</li>
core_util.cpp https://SQL2K5PHP.svn.codeplex.com/svn | C++ | 342 lines
29// *** internal constants ***
30log_callback g_driver_log;
31// internal error that says that FormatMessage failed
32SQLCHAR INTERNAL_FORMAT_ERROR[] = "An internal error occurred.  FormatMessage failed writing an error message.";
33// buffer used to hold a formatted log message prior to actually logging it.
34char last_err_msg[ 2048 ];  // 2k to hold the error messages
48
49// write to the php log if the severity and subsystem match the filters currently set in the INI or 
50// the script (sqlsrv_configure).
62
63void core_sqlsrv_register_logger( log_callback driver_logger )
64{
285// We use this function rather than php_error directly because we use the FormatMessage syntax in most other
286// places within the extension (e.g., LOG), whereas php_error uses the printf format syntax.  There were
287// places where we were using the FormatMessage syntax inadvertently with DIE which left messages without
CGIPhpDocument.java http://caffeine-hx.googlecode.com/svn/trunk/ | Java | 106 lines
31@ContentTypes({
32	"application/php"
33})
34/**
35* CGIPhpDocument generates results by running a PHP process
36* @author Russell Weir
37*/
38public class CGIPhpDocument extends CGIScriptDocument {
39	protected ProcessBuilder pb;
44			pb = new ProcessBuilder(new String[]{"/bin/sh", "-c",
45				"/bin/echo \""+content.replace("\"","\\\"")+"\" | /usr/bin/php"});
46			log.warn("{}", pb.command());
47		} catch( Exception e ) {
48			log.error("{}", e.getMessage());
49		}
importLogs.inc https://code.google.com/p/alfresco-php-sdk/ | PHP | 145 lines
1<?php
2# Copyright (C) 2004 Brion Vibber <brion@pobox.com>
20/**
21 * Attempt to import existing log pages into the log tables.
22 *
31require_once( 'GlobalFunctions.php' );
32require_once( 'Database.php' );
33require_once( 'Article.php' );
33require_once( 'Article.php' );
34require_once( 'LogPage.php' );
35
36/**
37 * Log importer
38 * @todo document
41 */
42class LogImporter {
43	var $dummy = false;
alias.php http://thinkphp.googlecode.com/svn/trunk/ | PHP | 24 lines
2// +----------------------------------------------------------------------
3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
4// +----------------------------------------------------------------------
4// +----------------------------------------------------------------------
5// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved.
6// +----------------------------------------------------------------------
10// +----------------------------------------------------------------------
11// $Id: alias.php 2929 2012-05-02 06:45:47Z liu21st@gmail.com $
12
15return array(
16    'Model'         => CORE_PATH.'Core/Model.class.php',
17    'Db'            => CORE_PATH.'Core/Db.class.php',
17    'Db'            => CORE_PATH.'Core/Db.class.php',
18    'Log'          =>   CORE_PATH.'Core/Log.class.php',
19    'ThinkTemplate' => CORE_PATH.'Template/ThinkTemplate.class.php',
alias.php http://thinkphp.googlecode.com/svn/trunk/ | PHP | 23 lines
2// +----------------------------------------------------------------------
3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
4// +----------------------------------------------------------------------
4// +----------------------------------------------------------------------
5// | Copyright (c) 2010 http://thinkphp.cn All rights reserved.
6// +----------------------------------------------------------------------
10// +----------------------------------------------------------------------
11// $Id: alias.php 2766 2012-02-20 15:58:21Z luofei614@gmail.com $
12if (!defined('THINK_PATH')) exit();
14return array(
15    'Model'         => CORE_PATH.'Core/Model.class.php',
16    'Db'            => CORE_PATH.'Core/Db.class.php',
16    'Db'            => CORE_PATH.'Core/Db.class.php',
17    'Log'          =>   SAE_PATH.'Lib/Core/Log.class.php',
18    'ThinkTemplate' => SAE_PATH.'Lib/Template/ThinkTemplate.class.php',
log.php https://code.google.com/p/prjtest00/ | PHP | 51 lines
23//	Log sink holder
24	private $logs  = NULL;
25//	Module:
31//	 Initialise configuration:
32	require "config/config.inc.php";
33	$this->module = $cfg["servers"][$Config]["logconfig"]["output"];
37
38	require "ioengines/logger/".$this->module."/init.php";
39	}}
43	if ($this->module != NULL){
44	require "ioengines/logger/".$this->module."/write.php";
45	}}
48    if ($this->module != NULL){
49    require "ioengines/logger/".$this->module."/close.php";	
50    }}
post_snapin_aic.php http://gespac.googlecode.com/svn/trunk/ | PHP | 74 lines
1<?PHP
2
3	// lib
4	require_once ('../../fonctions.php');
5	include_once ('../../config/databases.php');
5	include_once ('../../config/databases.php');
6	include_once ('../../../class/Log.class.php');
7	include_once ('../../../class/Sql.class.php');
10	// Log des requ�tes SQL
11	$log = new Log ("../../dump/log_sql.sql");
12
54			
55			$log->Insert($sql);
56
alias.php https://git01.codeplex.com/lyblog | PHP | 24 lines
2// +----------------------------------------------------------------------
3// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
4// +----------------------------------------------------------------------
4// +----------------------------------------------------------------------
5// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved.
6// +----------------------------------------------------------------------
10// +----------------------------------------------------------------------
11// $Id: alias.php 2702 2012-02-02 12:35:01Z liu21st $
12
15return array(
16    'Model'         => CORE_PATH.'Core/Model.class.php',
17    'Db'            => CORE_PATH.'Core/Db.class.php',
17    'Db'            => CORE_PATH.'Core/Db.class.php',
18    'Log'          =>   CORE_PATH.'Core/Log.class.php',
19    'ThinkTemplate' => CORE_PATH.'Template/ThinkTemplate.class.php',
__index-install.php https://bitbucket.org/amrishprajapati/neygengroup1.git | PHP | 728 lines
416				<td>
417					<input name='weblog_title' type='text' size='45' value='<?php echo $weblog_title ?>' />
418					<br />What would you like to call your site?
561Password: PASSWORD
562Login Here: BLOG_URLwp-login.php
563
588	
589	$msg = "Your new WordPress MU site has been created at\nhttp://{$domain}{$base}\n\nLogin details:\nUsername: admin\nPassword: $pass\nLogin: http://{$domain}{$base}wp-login.php\n";
590	wp_mail( $email, "Your new WordPress MU site is ready!", $msg, "From: wordpress@" . $_SERVER[ 'HTTP_HOST' ]  );
593	<p>Congratulations! <br />Your <a href='http://<?php echo $domain . $base; ?>'>WordPress &micro; site</a> has been configured.</p>
594	<p>You can <a class="button" href='wp-login.php'>log in</a> using the username "admin" and password <?php echo $pass; ?></p>
595
668	<p>The preferred method of hosting blogs is without the "www" prefix as it's more compact and simple.</p>
669	<p>You can still use "<?php echo $_POST[ 'basedomain' ] ?>" and URLs like "www.blog1.<?php echo $nowww; ?>" to address your site and blogs after installation but internal links will use the <?php echo $nowww ?> format.</p>
670
FileHelperActivity.java https://bitbucket.org/kenhe_nmg/online-android-framework-demo.git | Java | 181 lines
9import android.os.Environment;
10import android.util.Log;
11import android.view.View;
25
26		Log.i(TAG,
27				"程序数据目录:" + getFilesDir() + " \n SDCard目录路径:"
100			try {
101				is = NMGHttpHelper.getConn(("http://emperorgroup.nmg.com.hk/mapi/get_sqlite_db.php")).getInputStream();
102				// is = HttpUtil.getRequest(
102				// is = HttpUtil.getRequest(
103				// "http://emperorgroup.nmg.com.hk/mapi/get_sqlite_db.php");
104				// is = new FileInputStream("/mnt/sdcard/createfile.txt");
107			} catch (Exception e) {
108				Log.e(TAG, e.toString());
109			} finally {
.gitignore https://bitbucket.org/petris/statusnet.git | Unknown | 34 lines
7logs/*
8log/*
9run/*
9run/*
10config.php
11.htaccess
25TODO.rym
26config-*.php
27good-config.php
28lac08.log
29php.log
30.DS_Store
ast-parser.ss https://bitbucket.org/grundik/php-dep-builder | Unknown | 574 lines
4;;  1. AST in XML format should be created by phc
5;;  (http://www.phpcompiler.org) tool
6;;  2. PLT Scheme 4.1
6;;  2. PLT Scheme 4.1
7;;  3. it may be required to run ast-parser on php-files several times
8;;  for proper functions resolving, see +function-class-name+ related
31;;
32;;  5. [partially done] WizardContext.php.log and many others - unable
33;;  to process "Do"
34;;
35;;  6. [done, bugs possible] Tooltip.php.log and many others - unable
36;;  to process empty method parameters (method definition)
61(require "calls-record.ss")
62(require "php-builtin-functions-hash.ss")
63
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21