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 a53fdad commit 53b5b82
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 53b5b82

Please sign in to comment.