Fix log directory