Log slave version in database