Fixed IndexOutOfBounds error when message does not contain '#'

ArrayIndexOutOfBoundsException is thrown if logMessage does not contain the '#' character. Added checking to ensure logMessage.split('#') returns more than 1 element and log the messages accordingly. If not, will default to using INFO.