add more logging to app relink code