diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/logger.rb | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Fri Oct 14 18:00:20 2016 SHIBATA Hiroshi <[email protected]> + + * lib/logger.rb: Improve Logger.new option documentation. + [Feature #12803][ruby-core:77467] + Fri Oct 14 17:20:24 2016 Nobuyoshi Nakada <[email protected]> * lib/optparse.rb (make_switch, parse_in_order): unify underscores diff --git a/lib/logger.rb b/lib/logger.rb index 54fde9517d..e0c93c323c 100644 --- a/lib/logger.rb +++ b/lib/logger.rb @@ -356,8 +356,8 @@ class Logger # Number of old log files to keep, *or* frequency of rotation (+daily+, # +weekly+ or +monthly+). Default value is 0. # +shift_size+:: - # Maximum logfile size (only applies when +shift_age+ is a number). Default - # value is 1MiB. + # Maximum logfile size in bytes (only applies when +shift_age+ is a number). + # Defaults to +1048576+ (1MB). # +level+:: # Logging severity threshold. Default values is Logger::DEBUG. # +progname+:: |