What settings to use for the track log for trekking?

I use the setting length 10 meters, but the recorded track this point every 40 meters ...... Why?