Closed
Description
The default Logger format seems to have changed between Grape v0.2.6 and v0.3.1 -- such that our logs stopped recording timestamp and log level information.
I'm not sure if the older version had the "right" behaviour and it's now broken, or whether we relied on an inappropriate default and were just lucky.
$ git checkout v0.3.1
$ ruby -r bundler/setup -I lib -r grape -r grape/api -e "Logger.new(STDOUT).info 'hi'"
hi
$ git checkout v0.2.6
$ ruby -r bundler/setup -I lib -r grape -r grape/api -e "Logger.new(STDOUT).info 'hi'"
I, [2013-02-27T18:39:20.352350 #85986] INFO -- : hi
Using the wonderful git bisect
, I narrowed it down to commit 11576c8 -- XML support for entitiies -- but I can't figure out what the relevant change is.
ActiveSupport? i18n? Something else?
Metadata
Metadata
Assignees
Labels
No labels