Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-729

Currently there is no support for nested variables/options

    XMLWordPrintable

Details

    Description

      To support multi-tenancy we are using multiple SiftingAppenders. Some contain log appenders, but one contains a DBAppender. To get the appenders the correct database connection information we need to use nested variables/options where the options are evaluated from the inside-out:

      <url>${${tenantID}.jdbc.url}</url>
      <user>${${tenantID}.db.user}</user>
      <password>${${tenantID}.db.password</password>

      See also https://github.com/qos-ch/logback/pull/56

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            bcampbe1974 Brian Campbell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: