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

Add if then else capability to joran

    XMLWordPrintable

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • logback-core
    • None

    Description

      Example:
      <confiugure>

      <if condition="">
      <propertyX>...</propertyX>
      <then>
      <appender name="FILE" ...>
      <file>A.log</file>
      </appender>
      <then>
      <else>
      <appender name="FILE" ...>
      <file>B.log</file>
      </appender>
      <else>
      </if>
      </configuration>

      Support for nested ifs would be nice.

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            ceki Ceki Gülcü
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: