ruby-changes:44255
From: kazu <ko1@a...>
Date: Mon, 3 Oct 2016 21:21:19 +0900 (JST)
Subject: [ruby-changes:44255] kazu:r56328 (trunk): [DOC] Fix default value of shift_age [ci skip]
kazu 2016-10-03 21:21:14 +0900 (Mon, 03 Oct 2016) New Revision: 56328 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56328 Log: [DOC] Fix default value of shift_age [ci skip] `LogDevice#initialize` treats shift_age: nil as 7, but Logger#initialize has the default value of shift_age as 0. Modified files: trunk/ChangeLog trunk/lib/logger.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 56327) +++ ChangeLog (revision 56328) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Oct 3 21:19:46 2016 Kazuhiro NISHIYAMA <zn@m...> + + * lib/logger.rb: [DOC] Fix default value of shift_age. + Mon Oct 3 17:20:05 2016 George Brocklehurst <ruby@g...> * ext/readline/readline.c (readline_s_set_quoting_detection_proc): Index: lib/logger.rb =================================================================== --- lib/logger.rb (revision 56327) +++ lib/logger.rb (revision 56328) @@ -340,7 +340,7 @@ class Logger https://github.com/ruby/ruby/blob/trunk/lib/logger.rb#L340 # # :call-seq: - # Logger.new(logdev, shift_age = 7, shift_size = 1048576) + # Logger.new(logdev, shift_age = 0, shift_size = 1048576) # Logger.new(logdev, shift_age = 'weekly') # Logger.new(logdev, level: :info) # Logger.new(logdev, progname: 'progname') -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/