Tighten up logging initialisation

Hi,

At some point in the last couple of versions I realised the logging wasn't that robust at initialisation when the filesystem wasn't set up properly.

This commit tightens that up by properly checking global config and not allowing the logger to fall back to ConsoleAppender (i.e. output to screen) in the absence of proper config data.