-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
34 lines (33 loc) · 1.17 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
return array(
'appName' => 'index_so_com',
'displayErrors' => true,
'errorReporting' => E_ALL,
'logBacktrace' => true,
'extensionSwitch' => true,
'needExtensions' => array('pcntl'),
'defaultLoggerConf' => array('logOn' => true, 'logLevel' => 17, 'logInShell' => true,
'logFormatDay' => true, 'logFormatMonth' => false),
'memLimit' => "1G",
// 注册模块,这样配置会自加载到相应模块里
'modules' => array(
/*
* @logger 级别由高到低:ERROR->NOTICE->WARNNING->EXCEPTION->INFO->ALL
* 级别越高数值越小,配置的logLevel越大,记录的日志也越多
**/
'logger' => array(
'logOn' => true,
'logLevel' => 17,
//'logInShell' => false,
'logInShell' => true,
'logFormatMonth'=> false,
// 按天拆日志
'logFormatDay' => true,
// 是否记录PHP backtrace信息
'backtrace' => true,
),
),
// global var,用户自定义配置
'globals' => array(
),
);