summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-30 02:08:57 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-30 02:08:57 +0000
commit1a8ea0fc0f893c4034815c770c033d38418c1a90 (patch)
tree1deace316a989fc50a208f3ff7b81c4f60a27169
parent109ea6449ec063dc53ff778af3d6be68091071fe (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@31806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog15
-rw-r--r--lib/logger.rb3
2 files changed, 12 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index ee593ebe8d..95aeda318e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
diff --git a/lib/logger.rb b/lib/logger.rb
index 15d95fcb10..25553b2593 100644
--- a/lib/logger.rb
+++ b/lib/logger.rb
@@ -170,8 +170,7 @@ require 'monitor'
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