error.log 报错:"log file" was incomplete
2020/11/12 10:36:25 [alert] 37098#0: *161574 write() to "log file" was incomplete: 65536 of 535811 while logging request, client: 127.0.0.1
使用了如下这种方式,日志长度超过 64k, error 日志报错"log file" was incomplete
access_log "pipe:rollback logs/error_log interval=60m baknum=5 maxsize=2048M" info;
nginx 则不会出现这个错误。
1条答案
按热度按时间kknvjkwl1#
请教下这个问题你们解决了么? 我们也遇到同样的问题
版本:Tengine/2.3.2
2020/12/14 17:56:02 [alert] 8#0: *120030637 write() to "log file" was incomplete: 4096 of 9573 while logging request, client: X.X.X.X, server: XXX.XXX.cn, request: "POST /XXX/XXXX/XXX HTTP/1.1", upstream: "fastcgi://XXx.XXXX.XXX.XXX:9000", host: "XXX.cn", referrer: " http://XXX.cn "