mirror of
https://github.com/discourse/discourse.git
synced 2025-04-25 08:14:27 +08: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,
|
ip: ip,
|
||||||
username: username,
|
username: username,
|
||||||
hostname: `hostname`
|
hostname: `hostname`,
|
||||||
|
pid: Process.pid
|
||||||
}
|
}
|
||||||
rescue => e
|
rescue => e
|
||||||
Rails.logger.warn("Failed to append custom payload: #{e.message}\n#{e.backtrace.join("\n")}")
|
Rails.logger.warn("Failed to append custom payload: #{e.message}\n#{e.backtrace.join("\n")}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user