Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #6578

Re: The Chainsaw Infanticide Logger Manuever

From nlloyds@gmail.com
Newsgroups comp.lang.ruby
Subject Re: The Chainsaw Infanticide Logger Manuever
Date 2012-06-23 19:01 -0700
Organization http://groups.google.com
Message-ID <fe3175d9-5ac5-4331-bf74-c62fbd09548b@googlegroups.com> (permalink)
References <20050824000700.683a9d93.zedshaw@zedshaw.com>

Show all headers | View raw


On Tuesday, August 23, 2005 11:06:08 PM UTC-5, Zed A. Shaw wrote:
> One of the things that's really great about agile languages is they give you the power to do anything.  One of the most horrible things about agile languages is they give every other idiot the same power to stab you in the back with a rusty pitchfork.
> 
> I needed to do some simple logging.  I made a Logger class and started writing to it.  Hmm, my log messages sometimes have a format and sometimes they don't.  Nothing I do fixes this.

Oddly enough, current ActiveSupport does almost this exact same thing (https://github.com/rack/rack/issues/363) and last night I had a similar epiphany after a similar time sink that the original poster did 7 years ago.

Found this thread while googling and the title made me have to read it. Didn't realize how topical it would be. :) It's apparently going to be fixed in Rails 4, and there are known workarounds, but I just had to open this back up for the nostalgia.

Nathan

Back to comp.lang.ruby | Previous | Next | Find similar


Thread

Re: The Chainsaw Infanticide Logger Manuever nlloyds@gmail.com - 2012-06-23 19:01 -0700

csiph-web