added some log messages for listener