logist
logist copied to clipboard
A json logger for Rails
I think this behaviour is worth noting: https://github.com/h3poteto/logist/blob/162f2bc6576663ecec90b5384608fe277d5fe400/lib/logist/railtie.rb#L6
Any way to modify this to be able to include tagged log entries? I'd like to be able to have output like: ``` {"msg":"foo","request_id":""} ``` along with some other custom...
While reviewing this gem in the context of implementing JSON-formatted structured logs for our applications, I noticed that it is currently setting `config.lograge.formatter = Lograge::Formatters::Json.new`, then parsing JSON in `Logist::Formatter::Json#normalize_message`...
Having this exception after installing and adding config for development as in readme: ``` #
## Problem. ```ruby def foo ... rescue StandardError => e Rails.logger.error(e) end ``` Error occurs when writing StandardError object to log. ``` TypeError: no implicit conversion of TypeError into String...