added log4j entry for metrics
retrieve the final url after potential http 30x redirect
store and use urlAfterRedirect if different than the actual url