Sorry I was terse, didn't have time to make a long-winded explanation. To further confuse you, and instead of spoon feeding you information I could possibly get wrong, here is a
credible source for you to study.
Analog Device's Log Amp Basics tutorial.
http://www.analog.com/static/imported-files/tutorials/MT-077.pdf Go to page 4 for the diode log amp.
The point is, sharpen your Google-Fu. Research it for yourself from manufacturer's data sheets, appnotes and tutorials instead of asking on a forum where some pendantic know-it-all can give you the wrong answer.