Module | WEBrick::AccessLog |
In: |
lib/webrick/accesslog.rb
|
CLF_TIME_FORMAT | = | "[%d/%b/%Y:%H:%M:%S %Z]" |
COMMON_LOG_FORMAT | = | "%h %l %u %t \"%r\" %s %b" |
CLF | = | COMMON_LOG_FORMAT |
REFERER_LOG_FORMAT | = | "%{Referer}i -> %U" |
AGENT_LOG_FORMAT | = | "%{User-Agent}i" |
COMBINED_LOG_FORMAT | = | "#{CLF} \"%{Referer}i\" \"%{User-agent}i\"" |
This format specification is a subset of mod_log_config of Apache.
http://httpd.apache.org/docs/mod/mod_log_config.html#formats
ruby-doc.org is a service of James Britt and Neurogami, a Ruby application development company in Phoenix, AZ.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.