-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window10 1903无法成日志文件 #280
Comments
Linux下是正常的吗? |
@tancoder10 seaslog 版本多少? |
同样有此问题 在文件路径后有一乱码造成? |
@sunlu 明天看看 ,可以描述一些配置码? 描述一下操作步骤和相关代码 |
系统: Windows 10 x64 php.ini 配置: 测试代码: 日志目录有自动新建,但目录内日志文件。 |
@hy0kl 方便加一下微信吗? 我微信账号 |
已复现
访问方式 php-7.3 ts 版本 如果是非生产环境可以使用 \SeasLog::flushBuffer(); 添加参数
暂时只能大概确定是window下Apachehandler 会出现 |
我也有这个问题,期待早日解决,暂时先用monolog |
@stone-shawn 请问你的是Apache handler 的吗?
看看是使用什么sapi 可以描述一下是什么sapi 吗? |
XAMPP 3.2.2 |
系统:window10 1903
php: PHP Version 7.3.10
代码:
`<?php
file_put_contents("D://logs/default/a.log", "今天我站在年轻的战场" . PHP_EOL, FILE_APPEND);
?>`
代码执行后
D://logs/default/a.log 文件有生成成功,文件中内容正确
但seaslog的日志末生成,D://logs/default/20191113.log此文件末生成
var_dump(\SeasLog::getBuffer()) 输出内容是
array(1) {
["D://logs/default/20191113.log"]=>
array(1) {
[0]=>
string(74) "2019-11-13 12:10:31 | INFO | 88056 | 5dcb8236e9596 | 1573618231.81 | test
"
}
}
The text was updated successfully, but these errors were encountered: