[#67346] Future of test suites for Ruby — Charles Oliver Nutter <headius@...>

I'll try to be brief so we can discuss all this. tl;dr: RubySpec is

19 messages 2015/01/05

[ruby-core:67759] [ruby-trunk - Feature #10772] Add ability to change rotated log file extention

From: trev@...
Date: 2015-01-22 23:20:06 UTC
List: ruby-core #67759
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/

In This Thread

Prev Next