[#74190] [Ruby trunk Feature#12134] Comparison between `true` and `false` — duerst@...
Issue #12134 has been updated by Martin D端rst.
3 messages
2016/03/07
[#74269] Type systems for Ruby — Rob Blanco <ml@...>
Dear ruby-core,
5 messages
2016/03/10
[#74395] [Ruby trunk Feature#12142] Hash tables with open addressing — shyouhei@...
Issue #12142 has been updated by Shyouhei Urabe.
3 messages
2016/03/17
[ruby-core:74755] [Ruby trunk Bug#12238] Logger writes progname if log message is nil
From:
konstantin@...
Date:
2016-03-31 19:13:14 UTC
List:
ruby-core #74755
Issue #12238 has been reported by Konstantin H. ---------------------------------------- Bug #12238: Logger writes progname if log message is nil https://bugs.ruby-lang.org/issues/12238 * Author: Konstantin H * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15] * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- Please consider the following example: ``` ruby logger = Logger.new($stdout) # Log message is nil logger.info # I, [2016-03-31T22:04:36.684636 #4019] INFO -- : nil logger.progname = 'prog' # Now log message is changed to progname, is this a bug? logger.info # I, [2016-03-31T22:04:51.418510 #4019] INFO -- prog: prog logger.info 'test' # I, [2016-03-31T22:05:03.345434 #4019] INFO -- prog: test ``` Logger writes progname if log message is nil. Is this a bug or a known feature? -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>