Connected to the control device are a measuring device and hydraulic system, in which case the control device can control the operation of the barking machine based on the measuring information received from the measuring device as well as predetermined control parameters and algorithms.Thanks to the present invention, each log being barked can be machined and barked independently based on measure