analyzerCount()输出全是0,问题可能出在哪?
RT~我查看了一下分组下的日志,debug info error 等日志都有写入存在
RT~我查看了一下分组下的日志,debug info error 等日志都有写入存在
2016-02-01
/* PHP页面中代码如下: */ SeasLog::setBasePath('/var/www/html/log/'); SeasLog::setLogger('Web'); SeasLog::error('it is a error'); $data = SeasLog::analyzerCount(); var_dump($data); echo SeasLog::getLastLogger(); /* php.ini中参数设置如下 */ extension = seaslog.so seaslog.default_basepath = /var/www/html/log/ seaslog.default_logger = default seaslog.disting_type = 1 seaslog.disting_by_hour = 1 seaslog.use_buffer = 1 seaslog.buffer_size = 100 seaslog.level = 0 seaslog.trace_error = 1
举报