Global Conformal Invariance in D Dimensional and Logarithmic Correlation Functions