We are given the integral:
\[
I = \int \frac{x-3}{x^2-9} \, dx
\]
First, notice that \( x^2 - 9 = (x-3)(x+3) \). So we can decompose the fraction:
\[
\frac{x-3}{x^2 - 9} = \frac{x-3}{(x-3)(x+3)} = \frac{1}{x+3}
\]
Now, the integral simplifies to:
\[
I = \int \frac{1}{x+3} \, dx = \log(x+3) + k
\]
Thus, the correct answer is \( \log(x+3) + k \).