fix logs folder creation