Need to Capture a Logs for the Longer Duration on User's System

We have intermittent issue with one of the Application , As ZZC’s PACP runs only for 5 min, it’s difficult to capture the problematic moment.
If we runs Wireshark on User’s Machin will it give correct output ?

Yes, you can start a packet capture with Wireshark. Or you can also go into the ZCC client and navigate to More > Troubleshoot > Start Packet Capture.

@Pat_Nicholson -the capture in the Wireshark Will not give encrypted output , right?
As we are using DTLS.

That is correct. In this case please use the packet capture functionality inside ZCC.