Restore explicit setting of logdir.