add listeing on log