Project

General

Profile

Bug #14595

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

Added by grosser (Michael Grosser) 4 months ago.

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

Also available in: Atom PDF