Set logstash-logger file output to sync.
This commit is contained in:
parent
43920827ed
commit
b8e580b0e0
|
@ -28,7 +28,7 @@ if (Rails.env.production? && SiteSetting.logging_provider == 'lograge') || ENV["
|
|||
type: :multi_delegator,
|
||||
outputs: [
|
||||
{ uri: logstash_uri },
|
||||
{ type: :file, path: "#{Rails.root}/log/#{Rails.env}.log" }
|
||||
{ type: :file, path: "#{Rails.root}/log/#{Rails.env}.log", sync: true }
|
||||
]
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue