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: https://docs.quickblox.com/docs/ios-setup#enable-logging

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: https://docs.quickblox.com/docs/android-setup#enable-logging

// 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#enable-logging

(debug: { mode: 1 }, // set DEBUG mode)
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Maksym Pidhorbunskyi

  2. Posted
  3. Updated

Comments