Enables the tracing and starts generating Business Transaction XML.
{ SMPClientConnection* clientConn = [SMPClientConnection initializeWithAppID:"application ID" domain:@"domain" secConfiguration:@"secconfig"]; [clientConneciton setConnectionProfileWithHost:@"<server_host>" port:@"<server_port>" farm:nil relayServerUrlTemplate:nil enableHTTP:YES]; //On board user //... [clientConn startTrace]; } (NSException *e){ // catch exception here }
Before calling the startTrace API, the corresponding application conection id should be selected using domain->logs->settings->properties->Application Connection->Select connection id.