Project

General

Profile

Bug #10471

Still DST bug in logger

Added by rlpowell (Robin Powell) almost 5 years ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
2.0.0
[ruby-core:66065]

Description

So it turns out that, as of 2.0.0-p353, https://bugs.ruby-lang.org/issues/713 still happens, it's just that instead of raising an exception, it creates a log file for every log entry.

/usr/local/rvm/rubies/ruby-2.0.0-p353/bin/ruby
rlpowell@62f42be77397> date
Sun Nov 2 23:44:38 PST 2014
rlpowell@62f42be77397> date -d '1 day ago'
Sun Nov 2 00:44:42 PDT 2014
-rw-r--r--. 1 mysql mysql 2742 Nov 2 23:42 load_balancer.log.20141102
-rw-r--r--. 1 mysql mysql 168 Nov 2 23:42 load_balancer.log.20141102.1
-rw-r--r--. 1 mysql mysql 168 Nov 2 23:42 load_balancer.log.20141102.2
-rw-r--r--. 1 mysql mysql 190 Nov 2 23:42 load_balancer.log.20141102.3
-rw-r--r--. 1 mysql mysql 190 Nov 2 23:42 load_balancer.log.20141102.4
-rw-r--r--. 1 mysql mysql 190 Nov 2 23:42 load_balancer.log.20141102.5
-rw-r--r--. 1 mysql mysql 190 Nov 2 23:42 load_balancer.log.20141102.6
-rw-r--r--. 1 mysql mysql 233 Nov 2 23:42 load_balancer.log.20141102.7
-rw-r--r--. 1 mysql mysql 193 Nov 2 23:42 load_balancer.log.20141102.8
-rw-r--r--. 1 mysql mysql 193 Nov 2 23:42 load_balancer.log.20141102.9
-rw-r--r--. 1 mysql mysql 193 Nov 2 23:42 load_balancer.log.20141102.10
-rw-r--r--. 1 mysql mysql 193 Nov 2 23:42 load_balancer.log.20141102.11
-rw-r--r--. 1 mysql mysql 236 Nov 2 23:42 load_balancer.log.20141102.12
-rw-r--r--. 1 mysql mysql 165 Nov 2 23:42 load_balancer.log.20141102.13
-rw-r--r--. 1 mysql mysql 168 Nov 2 23:45 load_balancer.log.20141102.14

-- etc, etc, tec

History

Updated by jeremyevans0 (Jeremy Evans) about 1 month ago

  • Status changed from Open to Closed

From some testing, it appears this issue no longer occurs in the current version of logger. If you can reproduce this issue with the current version of logger, please post a self contained example showing the problem.

Also available in: Atom PDF