ActiveRecord outside of rails

I used this successfully for a script recently:

ActiveRecord::Base.logger = Logger.new( "my_app.log" )

Does that help?

Craig