1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/logger
nobu 82d495134c logger.rb: fix midnight log rotation miss
* lib/logger.rb (Logger::LogDevice#check_shift_log): compare the
  current time with the time for the next rotation to fix rotation
  miss when date changed between the comparison and log writing.
  based on the patch by megayu <yuhg2310 AT gmail.com>.
  [Fixes GH-539]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-21 07:11:03 +00:00
..
test_application.rb test/logger: split 2014-02-21 07:04:25 +00:00
test_logdevice.rb logger.rb: fix midnight log rotation miss 2014-02-21 07:11:03 +00:00
test_logger.rb test/logger: split 2014-02-21 07:04:25 +00:00
test_severity.rb test/logger: split 2014-02-21 07:04:25 +00:00