add some logs.