Add some extra traces to the mmdevapi backend

Trying to track down the cause of some reported errors.