cleaned up listener logging