LoggingDigest: do not call logMessage() if m_log pointer is NULL (solved possible segmentation fault). Added try catch mechanism and throw RestartNeeded.
Logging: throwRestartNeeded if unable to start log.