So, as I''m working on migrating my app from Rails 1.2.1 to Rails 1.2.6,
suddenly my database adaptor password is showing up in production log on
startup. This could be because use "
ActiveRecord::Base.allow_concurrency = true" (I know, nobody else does
and you''ll tell me not to do it. But I''ve investigated it and
it''s
working for me, that''s not what this question is about).
So this didn''t used to happen. But now, for some reason, the production
log begins with:
allow_concurrency=true
Defined connections:
{"ActiveRecord::Base"=>#<ActiveRecord::Base::ConnectionSpecification:0xb6b52924
@config={:port=>XXXX, :username=>"XXXXXX",
:database=>"XXXX",
:password=>"XXXX", :adapter=>"mysql",
:host=>"xxx.xxx.jhu.edu"},
@adapter_method="mysql_connection">}
Except with the X''s. My actual database password is in production log.
I''d rather avoid this. Anyone have any ideas for keeping this out of
production.log?
Jonathan
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---