Rewire the logic for choosing what to use for logging. Closes #59.