Georges Ko wrote:
>
> I'm writing an application that uses both Ruby's Logger and
> ActiveRecord, but ActiveRecord seems to break Ruby's Logger, as
> the Logger data (date, level, etc...) is not output anymore.
>
> Below is an example: [code snipped]
>
> $ ruby testlog.rb
> Hello, world!
>
> versus
>
> $ ruby testlog2.rb
> I, [2006-07-12T18:26:13.556000 #4228]  INFO -- : Hello, world!
>
> To make it normal, I have to load "logger" after require_gem
> "activerecord" (with warning messages output)...
>
> What do I miss?

I think Rails defines a class called Logger which must be clobbering
the standard one.

Gavin