NXP-14811 put metrics reporting into log file in debug mode