Add timestamp to lograge output.
This commit is contained in:
parent
7ab49acac2
commit
9112d2da3b
|
@ -11,7 +11,8 @@ if (Rails.env.production? && SiteSetting.logging_provider == 'lograge') || ENV["
|
|||
|
||||
output = {
|
||||
params: event.payload[:params].except(*exceptions),
|
||||
database: RailsMultisite::ConnectionManagement.current_db
|
||||
database: RailsMultisite::ConnectionManagement.current_db,
|
||||
time: event.time,
|
||||
}
|
||||
|
||||
output[:type] = :rails if logstash_uri
|
||||
|
|
Loading…
Reference in New Issue