mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 00:43:43 +08:00
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
Block a user