PLFENG-1968: update the way to log