log bits of caller and a hashcode of caller, we'll probably want to take out logging caller as it may be slow
This commit is contained in:
parent
ac667b7ecd
commit
a9eef6018c
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ module ActiveRecord
|
|||
}.inspect
|
||||
end
|
||||
|
||||
info "event=sql name='#{payload[:name]}' ms=#{event.duration} query='#{sql}' binds='#{binds}'"
|
||||
info "event=sql name='#{payload[:name]}' ms=#{event.duration} query='#{sql}' binds='#{binds}' caller_with_diaspora='#{caller.grep(/diaspora/).join(';')}' caller_hash='#{caller.hash}'"
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue