[logback-dev] [JIRA] Created: (LBCORE-140) Add if then else capability to joran

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Fri Mar 5 11:02:16 CET 2010


Add if then else capability to joran
------------------------------------

                 Key: LBCORE-140
                 URL: http://jira.qos.ch/browse/LBCORE-140
             Project: logback-core
          Issue Type: New Feature
          Components: Joran
            Reporter: Ceki Gulcu
            Assignee: Logback dev list



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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list