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,
|
type: :multi_delegator,
|
||||||
outputs: [
|
outputs: [
|
||||||
{ uri: logstash_uri },
|
{ uri: logstash_uri },
|
||||||
{ type: :file, path: "#{Rails.root}/log/#{Rails.env}.log" }
|
{ type: :file, path: "#{Rails.root}/log/#{Rails.env}.log", sync: true }
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue