[server][ArmBase] Add a mechanism to log the result of  mainThreadOneProc().