I wouldn't have thought that statement/formula would have done very much. log(1000) is 3, so "log(sensorValue) / log(1000) * 1023" is the same as "log(sensorValue) * 341"
I would have expected that in order to reverse the effect of a log taper you would need to use the pow() function.
Try this statement, which maps an ADC reading from the integer range 0-1023 to a floating point range of 1-100 and then converts that to an integer 1-100. I can't test this - hope it works!
int ADC;
float f_outRange;
int i_outRange;
ADC = analogRead(0);
f_outRange = 10*pow(ADC/1023.,10);
i_outRange = (f_OutRange + 0.5);
According to a wikipedia article, most log taper pots are actually two (or perhaps a few) linear potentiometers connected in such as way as to approximate a log taper. True log taper pots are apparently rather expensive.
To get an accurate conversion of your potentiometer, you might have to measure its resistance at many points and then figure out how to map it properly.
Pete