set default logdir
fix logdir
merge in logdir