Uploaded image for project: 'Kotlin Couchbase Client'
  1. Kotlin Couchbase Client
  2. KCBC-107

Cannot set `enableDiagnosticContext` on logging config

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • 1.1.1
    • None
    • Library
    • None
    • 1
    • SDK45

    Description

      The following code does not compile, because LoggerConfigDslBuilder. enableDiagnosticContext is defined as `val`, when it should be `var`:

      val cluster = Cluster.connect(connectionString, username, password) {
          logger {
              enableDiagnosticContext = true
          }
      }

      Attachments

        For Gerrit Dashboard: KCBC-107
        # Subject Branch Project Status CR V

        Activity

          People

            david.nault David Nault
            david.nault David Nault
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty