Added timestamp to production logs (#2151)

This commit is contained in:
Ahmad Farhat
2020-10-02 14:15:46 -04:00
committed by GitHub
parent 07557f45dc
commit c8a104c76e

View File

@ -138,8 +138,8 @@ Rails.application.configure do
{ host: event.payload[:host] }
end
config.log_formatter = proc do |severity, _time, _progname, msg|
"#{severity}: #{msg} \n"
config.log_formatter = proc do |severity, time, _progname, msg|
"#{time} - #{severity}: #{msg} \n"
end
config.log_level = :info