mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
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…
x
Reference in New Issue
Block a user