for example i have few lines of code which i know that it will run fine and i don't want result also just to get application to that position i am doing that.
Go into the options/settings panel.
There are options in there to stop it displaying the result automatically on completion and also to reduce the number of historic results stored.
Standard stuff .... https://support.smartbear.com/testcomplete/docs/testing-with/log/window/options.html
If you set Log.Enabled = false then there will not be any posted into the Test log.
Once you set the Log.Enabled = true then all logs will posted in the Test log.
Log.Enabled = false
Log.Enabled = true
For more details on this you can refer here
LinkedIn | CG-VAK Software | Bitbucket | email@example.com