From: merch-redmine@... Date: 2019-05-18T14:44:33+00:00 Subject: [ruby-core:92708] [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). Status changed from Open to Closed jeremyevans0 (Jeremy Evans) wrote: > I have added a pull request to logger upstream for this: https://github.com/ruby/logger/pull/30 Pull request was merged, so this can be closed. ---------------------------------------- Bug #14595: Set filename when initializing a logger with a File object to make reopen work https://bugs.ruby-lang.org/issues/14595#change-78067 * Author: grosser (Michael Grosser) * Status: Closed * 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: