|Short description:||configurable request logging for Rack|
|Created:||2009-08-29 05:27:38 GMT|
|Last update:||2009-09-08 00:55:41 GMT|
|Owner:||cloggers (Projects of this owner)|
Clogger - 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.
Clogger may be loaded as Rack middleware in your config.ru:
require "clogger" use Clogger, :format => Clogger::Format::Combined, :logger => File.open("/path/to/log", "ab") run YourApplication.new
If you’re using Rails 2.3.x or later, in your config/environment.rb somewhere inside the "Rails::Initializer.run do |config|" block:
config.middleware.use 'Clogger', :format => Clogger::Format::Combined, :logger => File.open("/path/to/log", "ab")
The latest development happens in git and is published to the following:
You may also browse and download snapshot tarballs:
The mailing list (see below) is central for coordination and development. Patches should always be sent inline (git format-patch -M + git send-email) so we can reply to them inline.
All feedback (bug reports, user/development dicussion, patches, pull requests) go to the mailing list.
Do not send HTML mail or attachments. Do not top post.
For all Rubygems users:
gem install clogger
If you do not use Rubygems, you may also use setup.rb from tarballs from the Rubyforge project page:
There is an optional C extension that should be compatible with MRI 1.8/1.9. The extensions should automatically be disabled for users of other Ruby implementations, but be sure to let us know if that’s not the case. No pre-built currently distributed, let us know if you’re interested in helping with the release/support effort.
Copyright (C) 2009 Eric Wong and contributors.
Clogger is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3.0.
Clogger is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License in the COPYING file for more details.
You should have received a copy of the GNU Lesser General Public License along with Clogger; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|Versions:||[1.2.0 (2012-11-06)] [1.1.0 (2011-12-06)] [1.0.1 (2011-06-22)] [1.0.0 (2011-04-21)] [0.9.0 (2011-03-15)] [0.8.0 (2011-01-21)] [0.5.0 (2010-06-06)] [0.4.0 (2010-04-21)] [0.3.0 (2010-02-09)] [0.2.0 (2010-01-07)] [0.1.0 (2009-10-06)] [0.0.7 (2009-09-09)] [0.0.6 (2009-09-08)] [0.0.5 (2009-09-03)] [0.0.4 (2009-09-03)] [0.0.3 (2009-09-01)] [0.0.2 (2009-09-01)] [0.0.1 (2009-08-29)]|