Is there a way to exclude certain clients from logging?

No, you can't stop logging for certain clients. You can only disable logging in general.
There is a feature request you might want to support