Add support for %d, %S and %q in access log pattern layout