clogger RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / Atom feed
From: Ben Armstrong <>
To: Eric Wong <>
Cc: <>
Subject: Re: gem fails to build on Win 7 32 bit, DevKit 3.7.2 (
Date: Tue, 26 Jul 2016 12:24:50 -0300
Message-ID: <> (raw)
In-Reply-To: <>

On 26/07/16 06:35 AM, Ben Armstrong wrote:
> However, after my successful build of the patched gem, when I re-enabled
> clogger in my rails 3 app in config/application.rb like this, it
> resulted in an empty log/access.log:
>      config.middleware.use 'Clogger',
>        :format => Clogger::Format::Combined,
>        :logger =>"log/access.log", "ab")
> Odd, as this worked fine for me once upon a time when the application
> ran on Ruby 1.8.7. (It was only when we made the switch to Ruby 1.8.7 ->
> 2.2.4 that clogger broke and we temporarily disabled this feature.)

This made me suspect that Rails was no longer passing this logger to 
WEBrick to use as an access log, and that had nothing at all to do with 
clogger. Sure enough, when I initialized the HTTPServer instance with 
:AccessLog => 
I got exactly what I wanted, without having clogger involved at all.

So, thanks for your time looking at my issue, but I think I'll go with 
this solution, as it reduces my application's dependencies by one. If I 
ever need a logger with more flexibility, I'll keep clogger in mind, but 
it appears I don't need it.


      reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-25 15:07 Ben Armstrong
2016-07-25 21:04 ` Eric Wong
2016-07-26  9:35   ` Ben Armstrong
2016-07-26 15:24     ` Ben Armstrong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

clogger RubyGem user+dev discussion/patches/pulls/bugs/help

Archives are clonable:
	git clone --mirror
	git clone --mirror http://ou63pmih66umazou.onion/clogger-public

Example config snippet for mirrors

Newsgroups are available over NNTP:

 note: .onion URLs require Tor:

AGPL code for this site: git clone