Open aiyolo opened 4 months ago
but the file sink always delay for multiple seconds, event though I had set flush strategy.
I don't know what is going on because I don't know how to check the writes to the file.
Can you give me a specific way to check, for example, "When I monitor the log file with tail -f logs/app.log
, the log display is a few seconds slower in the file than in the console"?
Regardless of the confirmation method, the following candidates are expected causes
I create two sinks, one is console sink and the other is file sink, the console sink can flush immediately, but the file sink always delay for multiple seconds, event though I had set flush strategy.
here is my code: