Differentiate
Let us take u = (cosx) and v = (logx)
Putting the above obtained values in the formula:-