restrict log lines a little further

This commit is contained in:
Raphael Sofaer 2011-02-12 12:09:50 -08:00
parent e76c5068d1
commit 8dc3e5efa8

View file

@ -79,7 +79,7 @@ module ActiveRecord
}.inspect
end
info "event=sql name='#{payload[:name]}' ms=#{event.duration} query='#{sql}' caller_hash=#{caller.hash} binds='#{binds}' caller_with_diaspora='#{caller.grep(/diaspora/).join(';')}'"
info "event=sql name='#{payload[:name]}' ms=#{event.duration} query='#{sql}' caller_hash=#{caller.hash} binds='#{binds}' caller_with_diaspora='#{caller.grep(/diaspora\/app/).join(';')}'"
end
end