Changes

Jump to navigation Jump to search
883 bytes added ,  11:00, 9 January 2020
→‎Sync log notation: add example with diagnostic log enabled
Line 466: Line 466:  
Org:...
 
Org:...
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
If you enabled the diagnostic sync log via [[configuration]], every single upload action is logged.
 +
 +
<syntaxhighlight lang='xml'>
 +
<UploadSync>
 +
 +
<Upload entity=contact>
 +
1> Create contact[John Doe, f2d10927-51a6-4db4-9f90-1c9df524b59e]
 +
MultiSend> 1 packets in 254ms
 +
ClearLog f2d10927-51a6-4db4-9f90-1c9df524b59e
 +
</Upload>
 +
 +
<Upload entity=resco_mobileaudit>
 +
1> Create resco_mobileaudit[applicationstate, 5ceaf7df-b283-4cff-8e09-a9e79b9e3bf7]
 +
2> Create resco_mobileaudit[synchronization, 4f20ab68-744d-41bb-9393-40adb057dd6a]
 +
MultiSend> 2 packets in 844ms
 +
ClearLog 5ceaf7df-b283-4cff-8e09-a9e79b9e3bf7
 +
ClearLog 4f20ab68-744d-41bb-9393-40adb057dd6a
 +
</Upload>
 +
 +
</UploadSync>
 +
 +
Upload:NoChangesLeft
 +
...
 +
<UploadSync> Entitys=969ms Sent=3 SvrCalls=1 TotalTim=969</UploadSync>
 +
</syntaxhighlight>
 +
 +
In the above example, we see this upload order: 1. contacts (1 record), 2. audits (2 records).
 +
    
[[Category:Synchronization]]
 
[[Category:Synchronization]]

Navigation menu