Added logging to file support
Added logging to file support
Merge pull request #22 from yylyyl/master

Added logging to file support
log stream priority
Fix a bug when access URLS with non-standard ports