Device client and SAP Mobile Server troubleshooting tools for diagnosing Apple iOS development problems.
Check the log record on the device. Use the individual entity class getLogRecords method, or assemble a query using the SUPQuery class and call the database class getLogRecords method.
This is a sample log format (depending on your query):
<header> [level] code component entityKey level message operation requestId timestamp
This log format generates output similar to:
2010-06-22 10:54:28.927 SAPSimpleApps2[91202:207] [INFO] [SAPTest.m:295] entity has a log record: code = 200, component = SalesOrder, entityKey = 500151, level = 3, message = Successful, operation = changeFromData, requestId = 33416006, timestamp = 2010-06-22 03:54:22 -0700
- (void) enableTrace:(BOOL)enable - (void) enableTrace:(BOOL)enable withPayload:(BOOL)withPayload
SUPConnectionProfile *cp = [SUP101SUP101DB getConnectionProfile]; // To enable trace of client database operations (SQL statements, etc.) [cp enableTrace:YES]; // To enable trace of client database operations with values also displayed [cp enableTrace:YES withPayload:YES]; // To disable trace of client database operations [cp enableTrace:NO]; // To enable trace of message headers sent to the server and received from the server // (this replaces the MBODebugLogger and MBODebugSettings used in earlier versions of SUP) [cp.syncProfile enableTrace:YES]; // To enable trace of both message headers and content, including credentials [cp.syncProfile enableTrace:YES withPayload:YES]; // To disable messaging trace [cp.syncProfile enableTrace:NO];