Added log messages to the sync controller