Actions
Feature #11696
closedLogger#reopen
Description
Added Logger#reopen
as 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) about 9 years ago
- Status changed from Open to Assigned
Updated by sonots (Naotoshi Seo) about 9 years ago
- Status changed from Assigned to Closed
Committed as r52620
Actions
Like0
Like0Like0