From: trev@... Date: 2015-01-22T23:18:47+00:00 Subject: [ruby-core:67758] [ruby-trunk - Feature #10772] [Open] Add ability to change rotated log file extention Issue #10772 has been reported by Trevor Menagh. ---------------------------------------- Feature #10772: Add ability to change rotated log file extention https://bugs.ruby-lang.org/issues/10772 * 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/