Project

General

Profile

Actions

Feature #11696

closed

Logger#reopen

Added by sonots (Naotoshi Seo) over 8 years ago. Updated over 8 years ago.

Status:
Closed
Target version:
-
[ruby-dev:49355]

Description

Added Logger#reopenas we talked at https://twitter.com/frsyuki/status/664862229490089984.

This enables to reopen another log file (or same log file) without creating a new Logger instance. This is useful when an application is passing a logger instance everywhere inside it, but want to change log file as https://github.com/fluent/serverengine does on config reloading.

The patch is available at https://github.com/ruby/ruby/pull/1102.

Updated by sonots (Naotoshi Seo) over 8 years ago

  • Status changed from Open to Assigned

Updated by sonots (Naotoshi Seo) over 8 years ago

  • Status changed from Assigned to Closed

Committed as r52620

Actions

Also available in: Atom PDF

Like0
Like0Like0