Convert params hash to a query string instead of a hash when logging.
This commit is contained in:
parent
6def5a344a
commit
b840971b77
|
@ -13,7 +13,7 @@ if (Rails.env.production? && SiteSetting.logging_provider == 'lograge') || ENV["
|
|||
params[:files].map!(&:headers) if params[:files]
|
||||
|
||||
output = {
|
||||
params: params,
|
||||
params: params.to_query,
|
||||
database: RailsMultisite::ConnectionManagement.current_db,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue