Fixed all bugs with request logging...it works well now