reformat view log detail message in test class run test