Added custom log formats %m, %U, %q and %H by Plack::Middleware::AccessLog #372

Merged
merged 1 commit into from Feb 8, 2013

Projects

None yet

2 participants

@ziguzagu
Contributor
ziguzagu commented Feb 8, 2013

Support following additional custom log formats compatible with apache2 mod_log_config by Plack::Middleware::AccessLog to get individual values of "%r":

  • %m - request method
  • %U - request URL (not included query string)
  • %q - query string
  • %H - protocol
@miyagawa miyagawa merged commit 93028b4 into plack:master Feb 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment