$$\int\frac{f'}{f}dx=\int(\ln{f})'dx=\ln{f}+C$$ is actually just a substitution :$u=f(x) \,;\, du =f'(x) dx$.
About the second question:
$$\int\frac{f}{f'}dx=\int\frac{1}{(\ln{f})'}dx$$
Suppose that such formula exists. Let $g(x)$ be any function and let $f(x)=e^{g(x)}$.
Then the above formula would yield a general formula for
$$\int \frac{1}{g'(x)} dx \,.$$
Conversely if a formula for $\int \frac{1}{g'(x)} dx \,.$ exists then you can get your formula by defining $g(x):= \ln |f(x) | \,.$
The question you ask is equivalent to the existence of a formula for
$$\int \frac{1}{g'(x)} dx \,.$$
I highly doubt that this is true, but couldn't find the right transcendent function, I am sure someone smarter will ;)