I can calculate this easily using L'Hopital Rule. Can anyone give me some pointers on how to do this without using L'Hopital?
$$\lim_{x \to a} \frac{\log(x-a)}{\log(e^x-e^a)}$$
I tried substitution by $n = x+a$ and then $\lim_{n \to 0}$ but that didn't work.
You need to substitute $n=x-a$ instead. Then, note that the required limit is $$\lim_{n\to 0}\frac{\log n}{\log(e^a\times e^{x-a}-e^a)}$$ Then, you can factor, and proceed with the known identity.
Hope this helps. Ask anything if not clear :)