Issue #14212 has been reported by sonots (Naotoshi Seo).

----------------------------------------
Bug #14212: Logger uses Kernel.#open to open a file, so it can open something more than files
https://bugs.ruby-lang.org/issues/14212

* Author: sonots (Naotoshi Seo)
* Status: Open
* Priority: Normal
* Assignee: sonots (Naotoshi Seo)
* Target version: 2.5
* ruby -v: 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
It is not intended behavior.



-- 
https://bugs.ruby-lang.org/