rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
* Question: Rack::CommonLogger
@ 2009-10-19  0:08 Max
  2009-10-19 11:13 ` Michael Fellinger
  0 siblings, 1 reply; 2+ messages in thread
From: Max @ 2009-10-19  0:08 UTC (permalink / raw)
  To: Rack Development


In Rack::CommonLogger, how come the logger duplicates itself on each
call?  (according to http://rack.rubyforge.org/doc/classes/Rack/CommonLogger.html)
Is it necessary, or to clear some sort of state, or...??

Just curious, was thinking of making my own logger and not sure under
which conditions I need to duplicate.

Thanks,
Max

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Question: Rack::CommonLogger
  2009-10-19  0:08 Question: Rack::CommonLogger Max
@ 2009-10-19 11:13 ` Michael Fellinger
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Fellinger @ 2009-10-19 11:13 UTC (permalink / raw)
  To: rack-devel


On Mon, Oct 19, 2009 at 9:08 AM, Max <nanodeath@gmail.com> wrote:
>
> In Rack::CommonLogger, how come the logger duplicates itself on each
> call?  (according to http://rack.rubyforge.org/doc/classes/Rack/CommonLogger.html)
> Is it necessary, or to clear some sort of state, or...??
>
> Just curious, was thinking of making my own logger and not sure under
> which conditions I need to duplicate.
>
> Thanks,
> Max

At least in HEAD, it doesn't duplicate anymore:
http://github.com/rack/rack/blob/master/lib/rack/commonlogger.rb


-- 
Michael Fellinger
CTO, The Rubyists, LLC
972-996-5199

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-19 11:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-19  0:08 Question: Rack::CommonLogger Max
2009-10-19 11:13 ` Michael Fellinger

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/rack.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).