Issue #14595 has been reported by grosser (Michael Grosser).

----------------------------------------
Bug #14595: Set filename when initializing a logger with a File object to make reopen work
https://bugs.ruby-lang.org/issues/14595

* Author: grosser (Michael Grosser)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.5.0
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
see https://github.com/rails/rails/issues/32211#issuecomment-371995187

would be great if it could auto-set filename from file.path
or alternatively handle the case of dev being a `File` during reopen



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

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>