apache / apisix

The Cloud-Native API Gateway
https://apisix.apache.org/blog/
Apache License 2.0
14.48k stars 2.52k forks source link

bug: Apisix file-logger 写入无锁,大并发情况下日志混乱串行 #11316

Open aapelismith opened 5 months ago

aapelismith commented 5 months ago

Current Behavior

bug: Apisix file-logger 写入无锁,大并发情况下json日志混乱串行

Expected Behavior

No response

Error Logs

bug: Apisix file-logger 写入无锁,大并发情况下json日志混乱串行

Steps to Reproduce

bug: Apisix file-logger 写入无锁,大并发情况下json日志混乱串行

Environment

slimValue commented 5 months ago

关注

aapelismith commented 4 months ago

@jinjianming

Justyell commented 3 months ago

并发多大才会出现?

tianhao98 commented 2 weeks ago

是日志字段混淆了吗?

aapelismith commented 2 weeks ago

已采用kafka-logger代替,目前已不再关注此问题