Project

General

Profile

Bug #14595

Set filename when initializing a logger with a File object to make reopen work

Added by grosser (Michael Grosser) about 1 year ago. Updated 4 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:86071]

Description

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

History

Updated by jeremyevans0 (Jeremy Evans) 5 days ago

I have added a pull request to logger upstream for this: https://github.com/ruby/logger/pull/30

Updated by jeremyevans0 (Jeremy Evans) 4 days ago

  • 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.

Also available in: Atom PDF