Is there a general principle on whether one should compute pearson correlation for two random variables X and Y before taking their log transform or after? Is there a procedure to test which is more appropriate? They yield similar but different values, since log transform is non-linear. Does it depend on whether X or Y are closer to normality after log? If so, why does that matter? And does that mean that one should do a normality test on X and Y versus log(X) and log(Y) and based on that decide whether pearson(x,y) is more appropriate than pearson(log(x),log(y))?
Correlation(pearson) measures a linear relationship between two continuous variables. There is no such choice for (X,Y) or (log X, log Y). Scatter plot of the variables can be used for understanding of the relationship.
The following link may answer regarding normality issue. link