[enhancement] use the logger