logging for sync command