Project

General

Profile

Actions

Bug #14595

closed

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

Added by grosser (Michael Grosser) over 6 years ago. Updated over 5 years ago.

Status:
Closed
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

Updated by jeremyevans0 (Jeremy Evans) over 5 years ago

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

Updated by jeremyevans0 (Jeremy Evans) over 5 years 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.

Actions

Also available in: Atom PDF

Like0
Like0Like0