Clogger 1.0.0 - configurable request logging for Rack

Clogger is Rack middleware for logging HTTP requests. The log format
is customizable so you can specify exactly which fields to log.

Changes:

  • $time_iso8601 added for nginx compatibility
  • $time_local (without strftime-options) is now locale-independent

There’s also a minor usability tweak that allows Symbols to be
specified as the :format argument, so config.ru can be shortened:

before (continues to work with 1.0.0):

use Clogger, :format => Clogger::Format::Rack_1_0

after:

use Clogger, :format => :Rack_1_0

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs