mrfh icon indicating copy to clipboard operation
mrfh copied to clipboard

some problems

Open jinluyang opened this issue 1 year ago • 0 comments

This package is excellent, but here are some problems when I use it for production:

  1. sometimes when using rotatingfile ,the message (of probably some of the processes) keep being written to the rotated file, making the file size can exceed the maxBytes, leading to occupy the whole disk.
  2. flock (file lock) can introduce obvious performance overhead, in cases where logging is frequent.
  3. when miss-using uvicorn in some case, there will be deadlock due to flock

jinluyang avatar Apr 14 '23 06:04 jinluyang