Skip to content

Commit

Permalink
Enable tracing for platform network tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rorbech committed Aug 8, 2024
1 parent d750ee7 commit 7c5b291
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public class OkHttpWebsocketClient(
scope.launch {
okHttpClient.newWebSocket(request, this@OkHttpWebsocketClient)
}
logger.debug("init")
}

override fun onOpen(webSocket: WebSocket, response: Response) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class PlatformNetworkingTests {
// Setup logger to capture WebSocketClient log messages
val logger = CustomLogCollector()
RealmLog.add(logger)
RealmLog.setLevel(LogLevel.DEBUG, LogCategory.Realm.Sdk)
RealmLog.setLevel(LogLevel.ALL, LogCategory.Realm.Sdk)

Realm.open(createSyncConfig(app.createUserAndLogIn(), selector)).use { uploadRealm ->
Realm.open(createSyncConfig(app.createUserAndLogIn(), selector)).use { realm ->
Expand Down

0 comments on commit 7c5b291

Please sign in to comment.