Troubleshooting

    +

    Description — Couchbase mobile database peer-to-peer (P2P) synchronization concepts

    As always, when there is a problem with replication, logging is your friend. The following example increases the log output for activity related to replication with Sync Gateway.

    Database.SetLogLevel(LogDomain.Replicator, LogLevel.Verbose);
    Database.SetLogLevel(LogDomain.Network, LogLevel.Verbose);