"Digit Pos:" got logged despite disabled logging

This fix applies the same if-condition as for other console.log-statements.