Class: RequestLogAnalyzer::FileFormat::Rails3

Inherits:
Base
  • Object
show all
Extended by:
CommonRegularExpressions
Defined in:
lib/request_log_analyzer/file_format/rails3.rb

Overview

Default FileFormat class for Rails 3 logs.

For now, this is just a basic implementation. It will probaby change after Rails 3 final has been released.

Defined Under Namespace

Classes: Request

Constant Summary

REQUEST_CATEGORIZER =

# Not parsed at the moment: SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 Query Load (0.4ms) SELECT `queries`.* FROM `queries` Rendered collection (0.0ms)

lambda { |request| "#{request[:controller]}##{request[:action]}.#{request[:format]}" }

Constants included from CommonRegularExpressions

CommonRegularExpressions::TIMESTAMP_PARTS

Constants inherited from Base

Base::Request

Instance Attribute Summary

Attributes inherited from Base

#line_definitions, #report_trackers

Method Summary

Methods included from CommonRegularExpressions

anchored, hostname, hostname_or_ip_address, ip_address, timestamp

Methods inherited from Base

#captures?, create, format_definition, #initialize, line_definer, line_definition, #line_divider, #max_line_length, #parse_line, report, report_definer, #request, #request_class, #setup_environment, #valid_line_definitions?, #valid_request_class?, #well_formed?

Constructor Details

This class inherits a constructor from RequestLogAnalyzer::FileFormat::Base