Don't dereference a null pointer
Merge pull request #266 from Hoikas/log-crash

Fix StatusLog Crash