[ENV] Add lograge config
This commit is contained in:
parent
d2094fbbd1
commit
3e23ba5a4f
3 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,7 @@ class ActiveJobLogSubscriber < ::ActiveJob::Logging::LogSubscriber
|
|||
tags.push('exception') if data[:exception]
|
||||
data[:tags] = tags
|
||||
data[:type] = 'tps'
|
||||
data[:source] = ENV['SOURCE']
|
||||
|
||||
log(data)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue