put all the string in one tracef
you should use prettyPrint() instead of getId() to print the global transaction