According to this recipe, mushrooms have been preserved in our family for several decades, I got the recipe from my mother.

Prepare the marinade: boil 2 liters of water, add sugar, salt, dill and mustard seeds, black and allspice, cloves, bay leaf. Cook from the moment of boiling for 3 minutes.

Add boiled mushrooms to the marinade, cook for 5 minutes.

Sterilize jars and lids. Add acetic acid to the jar, based on a liter jar 1 tsp.

Fill jars with mushrooms with marinade.

Roll up or close with screw caps. Flip. Wrap in a warm blanket, leave for a day for self-sterilization.

Good luck preparing!