added logging in upload file method and all exceptions
Merge pull request #1108 from VineetKanwal1/FileProxyPerformanceFix

added logging in upload file method and all exceptions