Do you know how to do a normal linear regression? Do you know how to find the coefficient of determination (i.e., ) for a normal linear regression? If so, then think of this logarithmic transformation on X as just a standard X variable. In other words, let , and do the normal stuff for the linear regression:
The transformation doesn't change the methodology of a regression, only the interpretation of the results.