Merge pull request #209 from tobykurien/master

removed debug log to make logs smaller
limited log output to 1000 lines to avoid hanging