Fix default logger purpose.

We changed this a while ago.
Better error when sync() exits with successful status.

These sync() methods shouldn't be exiting on their own, they should only
be explicitly stopped. So a successful exit is a bug, and we need to
know what kind of account it is in order to figure out where the bug is.