|
回复 27# 的帖子
修改文件目录:testlink下config.inc.php 文件中
/** [LOGGING] */
/** Default level of logging (NONE, ERROR, INFO, DEBUG, EXTENDED) */
$tlCfg->log_level = 'ERROR';
/** show smarty debug window */
$tlCfg->smarty_debug = false;
/** Path to store logs */
$tlCfg->log_path = TL_ABS_PATH . 'logs' . DIRECTORY_SEPARATOR ;
/**
* How to warning user when security weak points exists.
*
* 'SCREEN': messages will displayed on login screen, and tl desktop (default)
* 'FILE': a file with a list is created but users are not notified via GUI
* user will receive a message on screen.
* 'SILENT': same that FILE, but user will not receive message on screen.
*/
//$tlCfg->config_check_warning_mode = 'FILE';
$tlCfg->config_check_warning_mode = SILENT;
/**
* Configure if individual logging data stores are enabled of disabled
* Possibile values to identify loggers: 'db','file'
* $g_loggerCfg=null; all loggers enabled (default)
* $g_loggerCfg['db']['enable']=true/false;
* $g_loggerCfg['file']['enable']=true/false;
*/
$g_loggerCfg = null;
/** All events older this value [days] are removed from the db, during login */
$g_removeEventsOlderThan = 30;
我用的版本是1.8.4 |
|