Fixed logs crash when source name length is too long.
Merge pull request #69 from mheath/master

Fixed logs crash when source name is too long.
[finishes #64498902]