Log listener improvements