add logging field convert and test