Log m2m relations

- Add option to only log m2m relations, not m2m fields