Sha256: 24352b4e14bdb62cc4112651ba018d231458d5b4a815fd2bb12e262c6773ae51
Contents?: true
Size: 627 Bytes
Versions: 4
Compression:
Stored size: 627 Bytes
Contents
require File.dirname(__FILE__) + "/../spec_helper" # loads libs error_line = %q{[Sun Nov 30 14:23:45 2008] [error] [client 10.0.1.197] Invalid URI in request GET .\\.\\.\\.\\.\\.\\.\\.\\.\\.\\/winnt/win.ini HTTP/1.1} access_line = %q{127.81.248.53 - - [14/Jan/2009:11:49:43 -0500] "GET /reports/REPORT7_1ART02.pdf HTTP/1.1" 206 255404} mangled_error_line = error_line + "more words" puts "Processed Error Message:" puts error_line.tokenize_apache_logs.inspect puts "Error Message with extras:" puts mangled_error_line.tokenize_apache_logs.inspect puts "Processed Access Message" puts access_line.tokenize_apache_logs.inspect
Version data entries
4 entries across 4 versions & 2 rubygems