minor adjustement to mainLogCallback function. just ensuring that the argument to substr is never negative
minor adjustement to mainLogCallback function. just ensuring that the argument to substr is never negative

OpenSpace/OpenSpace,OpenSpace/OpenSpace,OpenSpace/OpenSpace,OpenSpace/OpenSpace