This document discusses the thread and process safety of the Ruby Logger. It was found that while Logger is thread-safe due to use of a mutex, it is not process-safe as the mutex does not work across processes. The author contributed a fix to Ruby core that uses flock to lock access to logs across processes, ensuring process-safe logging. The fix will be included in Ruby 2.1.0, making the standard
![Is ruby logger thread(process)-safe? at RubyConf 2013](https://cdn-ak-scissors.b.st-hatena.com/image/square/2fb68917847a5afbe6af7d9d9b5ff6674995a723/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Frubyloggerrubyconf20131109-131109173319-phpapp02-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)