mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:11:08 -06:00
Add Process pid to lograge output as well.
This commit is contained in:
parent
746889bbc1
commit
e04d09d148
@ -34,7 +34,8 @@ if (Rails.env.production? && SiteSetting.logging_provider == 'lograge') || ENV["
|
||||
{
|
||||
ip: ip,
|
||||
username: username,
|
||||
hostname: `hostname`
|
||||
hostname: `hostname`,
|
||||
pid: Process.pid
|
||||
}
|
||||
rescue => e
|
||||
Rails.logger.warn("Failed to append custom payload: #{e.message}\n#{e.backtrace.join("\n")}")
|
||||
|
Loading…
Reference in New Issue
Block a user