update sample logger use