From: "Iñaki Baz Castillo" Date: 2009-09-03T05:11:49+09:00 Subject: Re: [ANN] clogger 0.0.4 - configurable request logging for Rack El Miércoles, 2 de Septiembre de 2009, Eric Wong escribió: > > > Clogger is Rack middleware for logging HTTP requests. The log format > > > is customizable so you can specify exactly which fields to log. > > > > Is it possible to make Clogger using Logging class? > > If you mean Logger, then yes, No, I mean Logging: http://logging.rubyforge.org/ "Logging is a flexible logging library for use in Ruby programs based on the design of Java‘s log4j library. It features a hierarchical logging system, custom level names, multiple output destinations per log event, custom formatting, and more." > you can specify anything that responds to > "<<" as your :logger parameter: > > use Clogger, :logger => Logger.new("/path/to/log") How to set the Logger debug level there? Thanks a lot. -- Iñaki Baz Castillo