From: trev@... Date: 2015-01-22T23:20:06+00:00 Subject: [ruby-core:67759] [ruby-trunk - Feature #10772] Add ability to change rotated log file extention Issue #10772 has been updated by Trevor Menagh. See https://github.com/ruby/ruby/pull/818 for a solution. ---------------------------------------- Feature #10772: Add ability to change rotated log file extention https://bugs.ruby-lang.org/issues/10772#change-51186 * Author: Trevor Menagh * Status: Open * Priority: Normal * Assignee: ---------------------------------------- This patch allows a logger to be created that has a custom date format to the rotated log files when shift_age is set, instead of the hardcoded value ("%Y%m%d"), like so: Logger.new('foo.log', 1024000, '%Y-%m-%d') Making this format configurable allows users to adapt their logs to rigid outside systems that might require strict formatting of file names. -- https://bugs.ruby-lang.org/