There is a race condition in the File appender where two processes can attempt to open the same file at the same time. The changes here account for this by separating file opening from file creation.
Thanks to @sonots and his work fixing this same issue in the core Ruby Logger class. I've followed his approach to solve the same problem.
There is a race condition in the File appender where two processes can attempt to open the same file at the same time. The changes here account for this by separating file opening from file creation.
Thanks to @sonots and his work fixing this same issue in the core Ruby Logger class. I've followed his approach to solve the same problem.