관리-도구
편집 파일: cdesc-CommonLogger.ri
U:RDoc::NormalClass[iI"CommonLogger:ETI"Rack::CommonLogger;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[ I"GRack::CommonLogger forwards every request to the given +app+, and ;TI"logs a line in the ;TI"S{Apache common log format}[http://httpd.apache.org/docs/1.3/logs.html#common] ;TI"to the configured logger.;T: @fileI"lib/rack/common_logger.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [U:RDoc::Constant[i I"FORMAT;TI"Rack::CommonLogger::FORMAT;T:public0o;;[ o; ;[I"ICommon Log Format: http://httpd.apache.org/docs/1.3/logs.html#common;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;[I"Jlilith.local - - [07/Aug/2006 23:58:02 -0400] "GET / HTTP/1.1" 500 - ;TI" ;TI",%{%s - %s [%s] "%s %s%s %s" %d %s\n} % ;T:@format0o; ;[I"GThe actual format is slightly different than the above due to the ;TI"Fseparation of SCRIPT_NAME and PATH_INFO, and because the elapsed ;TI",time in seconds is included at the end.;T; @;0@@cRDoc::NormalClass0[ [[I" class;T[[; [[I"new;TI"lib/rack/common_logger.rb;T[:protected[ [:private[ [I" instance;T[[; [[I" call;T@5[;[ [;[[I"extract_content_length;T@5[I"log;T@5[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@I" Rack;TcRDoc::NormalModule