设f(xx-1)=logxx/xx-2且f(g(x))=logx,求g(x)