forked from External/greenlight
Added timestamp to production logs (#2151)
This commit is contained in:
parent
07557f45dc
commit
c8a104c76e
|
@ -138,8 +138,8 @@ Rails.application.configure do
|
||||||
{ host: event.payload[:host] }
|
{ host: event.payload[:host] }
|
||||||
end
|
end
|
||||||
|
|
||||||
config.log_formatter = proc do |severity, _time, _progname, msg|
|
config.log_formatter = proc do |severity, time, _progname, msg|
|
||||||
"#{severity}: #{msg} \n"
|
"#{time} - #{severity}: #{msg} \n"
|
||||||
end
|
end
|
||||||
|
|
||||||
config.log_level = :info
|
config.log_level = :info
|
||||||
|
|
Loading…
Reference in New Issue