Oracle Help Center | Oracle Push Cloud Service (Standalone) title

Debugging & Logging

PushIOManager supports several debug levels which control how verbose the library is when logging to the console. Setting a debug level may significantly help troubleshooting your integration.

To set a debug level, simply add the following line before initializing the SDK:

PushIOManager.setLogLevel(Log.DEBUG);

The following log levels are available with increasingly more information:

Log.VERBOSE is the highest level of debugging and will display the data logged by the PushIOManager in the Logcat Log output.

NOTE: Logging is enabled by default with log level set as Log.INFO. It can be disabled by calling the following:

PushIOManager.setLoggingEnabled(false);