Whilst working through a question I got to the point where I need to integrate this:

1/y + (1/k)/(1-y/k) where k is a constant.

I got ln|y| + 1/k (ln|1-y/k|)

I know this isn't correct. Could anyone explain why and give me the correct answer?

Thankyou