/ SDKs / Android
Chat SDKs Android v4
Chat SDKs Android
Chat SDKs
Version 4


Copy link

Sendbird Chat SDK for Android offers a logging system that allows you to keep track of a number of events and activities including data flow, error, and information while running your app. You can closely monitor the operation of the Sendbird SDK and improve debug efficiency using our logging system.

Log levels

Copy link

Sendbird Chat SDK's logger is based on the log levels classified by Android. Log levels can be used to categorize and control log outputs. There are a total of six log levels, which are ALL (verbose), DEBUG, INFO, WARN, ERROR, and NONE. Apart from NONE, the other five log levels take precedence over the other in the following order: ALL (verbose) > DEBUG > INFO > WARN > ERROR. If you would rather not use the logger, you can select NONE to opt out of recording SendbirdChat logs.



No logs recorded.


Logs detailed information about all events and activities, including the log messages in DEBUG, INFO, WARN, and ERROR.


Logs what's happening inside the SDK that could be helpful to debug unexpected behaviors, as well as the log messages in INFO, WARN, and ERROR.


Logs the general events that take place in the Sendbird SDK, as well as the log messages in WARN and ERROR.


Logs unexpected events which wouldn’t affect the operation of Sendbird SDK but might cause other issues. This log level also shows the log messages in ERROR.


Logs things that have caused failures in specific events, but not an SDK-wide failure.

Note: If an unexpected behavior is caused by a user's mistake or environmental factors, the behavior is classified as WARN. If it is due to the Sendbird SDK or Sendbird internal operations, it is classified as ERROR.

How to configure the log level

Copy link

The default log level set for Sendbird Chat SDK for Android is LogLevel.WARN, which means that Sendbird Chat SDK keeps logs of both errors and warning messages. You can change the settings through the logLevel property in the InitParams class and pass it on when initializing the SDK as follows.

val initParams = InitParams(APP_ID, CONTEXT, USE_CACHING).apply {
    logLevel = LogLevel.VERBOSE
SendbirdChat.init(initParams, INIT_RESULT_HANDLER)



Specifies the severity level of the log to retrieve. One takes precedence over the other in the order of VERBOSE, DEBUG, INFO, WARN, and ERROR. You can also use NONE to stop recording SendbirdChat logs.

Log filtering

Copy link

All Sendbird Chat SDK log messages start with SendbirdChat. If you want to see the log messages from Sendbird Chat SDK, search for messages with the keyword SendbirdChat.