From: sonots@... Date: 2016-04-19T03:49:18+00:00 Subject: [ruby-core:75021] [Ruby trunk Feature#10772][Closed] Add ability to change rotated log file extention Issue #10772 has been updated by Naotoshi Seo. Status changed from Open to Closed Assignee set to Naotoshi Seo fixed via https://github.com/ruby/ruby/commit/2c6f15b1ad90af37d7e0eefff7b3f5262e0a4c0b ---------------------------------------- Feature #10772: Add ability to change rotated log file extention https://bugs.ruby-lang.org/issues/10772#change-58150 * Author: Trevor Menagh * Status: Closed * Priority: Normal * Assignee: Naotoshi Seo ---------------------------------------- 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/ Unsubscribe: