函数f(x)=log a x(0<a<1)在[a 2 ,a]上的最大值是(  ) A.0 B.1 C.2 D.a