clogger / 0.0.3
| Short description: | configurable request logging for Rack | |||||
|---|---|---|---|---|---|---|
| Category: | Library/Rack | |||||
| Status: | experimental | |||||
| Created: | 2009-08-29 05:27:38 GMT | |||||
| Last update: | 2009-09-01 21:14:24 GMT | |||||
| Owner: | cloggers (Projects of this owner) | |||||
| Homepage: | http://clogger.rubyforge.org/ | |||||
| Download: | http://rubyforge.org/frs/?group_id=8896 | |||||
| License: | LGPL | |||||
| Dependency: |
|
|||||
| Description: | Clogger - configurable request logging for RackDESCRIPTIONClogger is Rack middleware for logging HTTP requests. The log format is customizable so you can specify exactly which fields to log. FEATURES
SYNOPSISClogger 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")
VARIABLES
REQUIREMENTS
DEVELOPMENTThe latest development happens in git and is published to the following: git://rubyforge.org/clogger.git git://git.bogomips.org/mirrors/clogger.git 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. CONTACTAll 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. INSTALLFor all Rubygems users: gem install clogger If you’re using MRI 1.8/1.9 and have a build environment, you can also try: gem install clogger_ext If you do not use Rubygems, you may also use setup.rb from tarballs from the Rubyforge project page: LICENSECopyright (C) 2009 Eric Wong <normalperson@yhbt.net> 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 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)] | |||||