This commit is contained in:
thinkphp
2015-12-08 10:56:47 +08:00
parent 0c6a768456
commit 788aeb686c
3 changed files with 15 additions and 17 deletions

View File

@@ -56,7 +56,6 @@ return [
'show_error_msg' => false,
//默认输出类型
'default_return_type' => 'html',
'common_module' => '',
'log' => [
'type' => 'File',
@@ -120,6 +119,6 @@ return [
//日志强制记录到配置的client_id
'force_client_id' => '',
//限制允许读取日志的client_id
'allow_client_ids'=>array()
]
'allow_client_ids' => array(),
],
];

View File

@@ -58,7 +58,7 @@ class App
}
//判断如果启动SocketLog调试 进行SocketLog配置
if ($config['slog']['enable']) {
slog::config($config['slog']);
\org\Slog::config($config['slog']);
}
// 应用URL调度

View File

@@ -17,7 +17,6 @@ use think\Debug;
use think\Exception;
use think\Lang;
use think\Log;
use think\Slog;
abstract class Driver
{
@@ -1165,7 +1164,7 @@ abstract class Driver
$slog_config = Config::get('slog');
if ($slog_config['enable'] && $start) {
slog::sql($this->queryStr,$this->_linkID);
\org\Slog::sql($this->queryStr, $this->_linkID);
}
}