Add logs for each phases of references and stats for each worker threads Reviewed-by: tschatzl, shade