Fix bug: bad config shouldn't result in overwriting with default. Stop using log.