Create log folder if it doesn't exist and remove duplicate alias