-log(x) is the same as log(x^-1) correct?
correct
Note that we can confirm this by writing x^-1 as 1/x
So
log 1/x = log 1 - log x = 0 - log x = - log x