working on url load error logs
refactoring errlog