Create logdir and cachedir during setup time