A method is disclosed for optimization of a production of frozen ice cream products (6), such as extruded edible ice cream products, from a freezing system (1) comprising a freezing apparatus (2), comprising the steps of recording one or more properties of the production, such as one or more measured values related to the freezing system during the production process (STM), and using the one or more recorded properties for controlling one or more operational parameters of the freezing system (REG). In an aspect of the invention, it comprises the steps of conveying pre-products to be frozen into the freezing apparatus (PPIN), cooling the pre-products to form frozen products inside the freezing apparatus (FRZ), conveying the frozen products out of the freezing apparatus (FPOUT), measuring one or more surface temperatures of frozen products leaving the freezing apparatus (STM), and using the one or more measured surface temperatures for controlling one or more operational parameters of the freezing apparatus (REG).