tokuhirom's Blog

Apache::LogFormat::Compiler is awesome

Apache::LogFormat::Compiler compiles log_format line ‘combined’, ‘common’ or ‘%h %l %u %t “%r” %>s %b’ to perl-code. http://blog.nomadscafe.jp/2013/03/apachelogformatcompiler-is-now-on-cpan.html

@kazeburo++ released Apache::LogFormat::Compiler, it's very good module for me. It compiles Apache style log format string like

%h %l %u %t “%r” %>s %b

to Perl5 code. The code is pretty fast to generate log string.