Question: Rack::CommonLogger

3 views
Skip to first unread message

Max

unread,
Oct 18, 2009, 8:08:46 PM10/18/09
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

Michael Fellinger

unread,
Oct 19, 2009, 7:13:55 AM10/19/09
to rack-...@googlegroups.com

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

Reply all
Reply to author
Forward
0 new messages