- use dynamic logdir