Need IRULE that logs URL requests

I am looking for an IRULE that I can use to view the URL’s that are being requested from different users.

Hack away…

when HTTP_REQUEST {
  set http_request_time [clock clicks -milliseconds]
  set request_log_line "Client IP: [IP::remote_addr], \
        requesting: [HTTP::method]/[HTTP::host][HTTP::uri], \
        browser: [HTTP::header User-Agent], \
        Referer: [HTTP::header value Referer], \
        HTTP version [HTTP::version]"
}
when HTTP_RESPONSE {
  set http_response_time [ clock clicks -milliseconds ]
  log local0. "$request_log_line, \
        HTTP status: [HTTP::status], \
        Response Size: [HTTP::payload length], \
        Duration: [expr $http_response_time - $http_request_time]"
}

or this from the codeshare:

DevCentral - An F5 Technical Community (Click here)