Middleware for common log format access logs