adding trace level logging to RPC layer