Merge pull request #67 from wpreul/master

Adding internalError event support
Now truncating old index log file