From: merch-redmine@... Date: 2019-05-17T00:38:57+00:00 Subject: [ruby-core:92691] [Ruby trunk Bug#14595] Set filename when initializing a logger with a File object to make reopen work Issue #14595 has been updated by jeremyevans0 (Jeremy Evans). I have added a pull request to logger upstream for this: https://github.com/ruby/logger/pull/30 ---------------------------------------- Bug #14595: Set filename when initializing a logger with a File object to make reopen work https://bugs.ruby-lang.org/issues/14595#change-78050 * 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: