[ENV] Add lograge config

This commit is contained in:
Paul Chavard 2018-08-22 18:10:26 +02:00
parent d2094fbbd1
commit 3e23ba5a4f
3 changed files with 4 additions and 0 deletions

View file

@ -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