From: merch-redmine@jeremyevans.net
To: ruby-core@ruby-lang.org
Subject: [ruby-core:92691] [Ruby trunk Bug#14595] Set filename when initializing a logger with a File object to make reopen work
Date: Fri, 17 May 2019 00:38:57 +0000 (UTC) [thread overview]
Message-ID: <redmine.journal-78050.20190517003856.ad9cd03f905455eb@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-14595.20180310032131@ruby-lang.org
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/
next prev parent reply other threads:[~2019-05-17 0:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <redmine.issue-14595.20180310032131@ruby-lang.org>
2018-03-10 3:21 ` [ruby-core:86071] [Ruby trunk Bug#14595] Set filename when initializing a logger with a File object to make reopen work michael
2019-05-17 0:38 ` merch-redmine [this message]
2019-05-18 14:44 ` [ruby-core:92708] " merch-redmine
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.journal-78050.20190517003856.ad9cd03f905455eb@ruby-lang.org \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).