Sha256: df4b87024bf05ca3f49c33237bfd4a2aaaa35fb7a430ebca5145f061bf29a67e
Contents?: true
Size: 687 Bytes
Versions: 3
Compression:
Stored size: 687 Bytes
Contents
#!/usr/bin/env ruby require 'log_line_parser' require 'log_line_parser/utils' module LogLineParser # MoeLogFormat and MoeLogParser is added from the personal needs of the # original author, and the log format is not a widely used one. # You may remove this file if you don't need it. # (MOE is the acronym of the name of the organization for which # the author is working at the time of the first release of this program.) # # MoeLogFormat = CombinedLogFormat + "%D" MoeLogFormat = "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %D" ## # Parser of MoeLogFormat MoeLogParser = parser(MoeLogFormat) PREDEFINED_FORMATS['moe'] = MoeLogParser end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
log_line_parser-0.4.0 | lib/log_line_parser/moe.rb |
log_line_parser-0.3.0 | lib/log_line_parser/moe.rb |
log_line_parser-0.2.0 | lib/log_line_parser/moe.rb |