That is a very common problem with long haired dogs. Just do what you said and keep it trimmed. If you take her to a groomer they will do it for you, but it is not hard to do yourself.
Much easier to keep it timmed then to pick the poop out of it.

LOL