Start a conversation

Gathering logs (issues with chat)

In this case we need to gather full REST + XMPP logs from the very start of an application till the wrong behaviour/error comes up.

Please provide QuickBlox Support with logs in .txt format as an attachment to a conversation/ticket.


   a. On iOS

Objective-C
// Enables Quickblox REST API calls debug console output
[QBSettings setLogLevel:QBLogLevelDebug];

// Enables detailed XMPP logging in console output
[QBSettings enableXMPPLogging];

Swift
// Enables Quickblox REST API calls debug console output.
QBSettings.setLogLevel(QBLogLevel.debug)

// Enables detailed XMPP logging in console output.
QBSettings.enableXMPPLogging()



   b. On Android:

// Enables Quickblox REST API calls debug console output

qbSettings.setLogLevel(LogLevel.DEBUG);



// Enables detailed XMPP logging in console output

QBChatService.setDebugEnabled(true);



    c. NodeJS logs: https://docs.quickblox.com/docs/js-setup#custom-endpoints (debug: { mode: 1 }, // set DEBUG mode)

WebRTC stats reporting: https://docs.quickblox.com/docs/js-video-calling-advanced#webrtc-stats-reporting

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Maksym Pidhorbunskyi

  2. Posted
  3. Updated

Comments