Computed tomography (CT) scanning of logs is being introduced in sawmills, so there is reason to study how log positioning can be controlled using information from CT. However, positioning errors affect this positioning optimization in a negative way. To reduce this effect, a method was developed using sawing simulation, where logs were sawn in a large number of positions, varying rotation and centering. This resulted in three-dimensional surfaces, with the sawn timber value, rotation and centering on the axes. The surfaces were filtered with a Gaussian filter using a distribution corresponding to that of the positioning error. The filtered values were used for optimization, choosing the global maximum. This resulted in a value recovery that was about two percent higher compared to a simpler optimization without filtering, for a normally distributed rotational error of 5 – 15° standard deviation and a ditto centering error of 3.5 – 10.5 mm standard deviation. This was tested using sawing simulation, using the optimal log position for the two methods, with an added positioning error. Furthermore, the robust method has been tested on a smaller number of rotational positions, starting from horns down, to reduce the number of necessary calculations. The result of this was that at least ± 60 ° in the rotational direction should be evaluated for the robust method to result in a higher recovery than the simpler optimization. The robust method was better than sawing horns down and centered, no matter the positioning error, using only 65 evaluated positions per log.