Bugfix: Logging crashed when config directory didn't exist.