apachelogregex icon indicating copy to clipboard operation
apachelogregex copied to clipboard

Add the most common Apache log formats available as class constants

Open weppos opened this issue 15 years ago • 1 comments

Add the most common Apache log formats available as class constants. For instance, the user might want to do

parser = ApacheLogRegex.new(ApacheLogRegex::COMBINED_LOG_FORMAT)

or

parser = ApacheLogRegex.new(:combined)

via http://www.simonecarletti.com/blog/2009/02/apache-log-regex-a-lightweight-ruby-apache-log-parser/

weppos avatar Dec 19 '09 11:12 weppos

Yes please, that would be awesome!

dcolebatch avatar Jan 06 '11 15:01 dcolebatch