mirror of
https://github.com/discourse/discourse.git
synced 2026-08-02 09:29:37 -05:00
Add Process pid to lograge output as well.
This commit is contained in:
@@ -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")}")
|
||||
|
||||
Reference in New Issue
Block a user