Permalink
Browse files

* lib/logger.rb (Logger::ProgName): do not depend on subversion

  keyword ($Id$). ProgName with revision number was written in the 
  header line of each logfile for ease of tracking what version user
  is using in troubleshooting.  Logger is already stable enough.

I commit this on confirmation from Shyouhei.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@31806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent 63f7d6e commit 11454d202032e39f2ebc9b330513fe56886294c6 @nahi nahi committed May 30, 2011
Showing with 12 additions and 6 deletions.
  1. +11 −4 ChangeLog
  2. +1 −2 lib/logger.rb
View
@@ -1,3 +1,10 @@
+Mon May 30 10:58:17 2011 Hiroshi Nakamura <nahi@ruby-lang.org>
+
+ * lib/logger.rb (Logger::ProgName): do not depend on subversion
+ keyword ($Id$). ProgName with revision number was written in the
+ header line of each logfile for ease of tracking what version user
+ is using in troubleshooting. Logger is already stable enough.
+
Sat May 21 07:33:54 2011 Yusuke Endoh <mame@tsg.ne.jp>
* ext/zlib/zlib.c (zstream_append_input2): add RB_GC_GUARD.
@@ -147,7 +154,7 @@ Thu Dec 2 21:13:42 2010 URABE Shyouhei <shyouhei@ruby-lang.org>
Wed Nov 24 18:24:26 2010 NAKAMURA Usaku <usa@ruby-lang.org>
- * ext/socket/extconf.rb: backrorted entirely from ruby_1_8, with small
+ * ext/socket/extconf.rb: backported entirely from ruby_1_8, with small
modifications for the difference of mkmf.rb.
Wed Nov 24 16:24:24 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
@@ -158,8 +165,8 @@ Wed Nov 24 16:24:24 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
Wed Nov 24 16:18:02 2010 URABE Shyouhei <shyouhei@ruby-lang.org>
* win32/Makefile.sub ($(RCFILES)): no revision.h in this
- branch, a patch from Luis Lavena <luislavena at gmail.com>.
- [ruby-core:33310]
+ branch, a patch from Luis Lavena <luislavena at gmail.com>.
+ [ruby-core:33310]
* cygwin/GNUmakefile.in ($(RCFILES)): ditto.
@@ -227,7 +234,7 @@ Thu Oct 7 18:10:35 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
Sun Oct 3 18:30:23 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (rb_intern): should check symbol table overflow.
- #3900 [ruby-dev:42330]
+ #3900 [ruby-dev:42330]
Fri Oct 1 15:12:05 2010 NAKAMURA Usaku <usa@ruby-lang.org>
View
@@ -170,8 +170,7 @@
class Logger
VERSION = "1.2.6"
- id, name, rev = %w$Id$
- ProgName = "#{name.chomp(",v")}/#{rev}"
+ ProgName = "#{File.basename(__FILE__)}/#{VERSION}"
class Error < RuntimeError; end
class ShiftingError < Error; end

0 comments on commit 11454d2

Please sign in to comment.