logger: Move err_str to the above block so it stays available
logger: Move err_str to the above block so it stays available

sujayraaj/monkey,dreamsxin/monkey,monkey/monkey,sujayraaj/monkey_rtems,sujayraaj/monkey_rtems,dougsko/monkey,dougsko/monkey,dreamsxin/monkey,sujayraaj/monkey_rtems,sujayraaj/monkeyTest,sujayraaj/monkey,sujayraaj/monkey,dougsko/monkey,sujayraaj/monkey_rtems,sujayraaj/monkey_rtems,sbagmeijer/monkey,sbagmeijer/monkey,monkey/monkey,dougsko/monkey,WilliamRen/monkey-1,sujayraaj/monkey,sujayraaj/monkeyTest,sujayraaj/monkeyTest,monkey/monkey,monkey/monkey,dougsko/monkey,dreamsxin/monkey,monkey/monkey,monkey/monkey,sbagmeijer/monkey,dreamsxin/monkey,sbagmeijer/monkey,WilliamRen/monkey-1,WilliamRen/monkey-1,WilliamRen/monkey-1,sujayraaj/monkey,sbagmeijer/monkey,dreamsxin/monkey,sujayraaj/monkeyTest,WilliamRen/monkey-1