added more log info but reduced printf