Add logging for library sync