[JIRA] Created: (LBCORE-223) Add Case Insensitive Contains Predicate to Joran

Add Case Insensitive Contains Predicate to Joran ------------------------------------------------ Key: LBCORE-223 URL: http://jira.qos.ch/browse/LBCORE-223 Project: logback-core Issue Type: Improvement Components: Joran Affects Versions: 0.9.30 Reporter: Gordon Dickens Assignee: Logback dev list Priority: Minor As a developer, it would be helpful to have evaluate a property value with case insensitivity. This issue became apparent when importing properties from a file where a property's value could be true or false. Here another person may put in TRUE or FALSE. To circumvent this, I have to include a comment. -- 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

[ http://jira.qos.ch/browse/LBCORE-223?page=com.atlassian.jira.plugin.system.i... ] Ceki Gulcu commented on LBCORE-223: ----------------------------------- Sorry but I don't understand. Could you have an example or more context?
Add Case Insensitive Contains Predicate to Joran ------------------------------------------------
Key: LBCORE-223 URL: http://jira.qos.ch/browse/LBCORE-223 Project: logback-core Issue Type: Improvement Components: Joran Affects Versions: 0.9.30 Reporter: Gordon Dickens Assignee: Logback dev list Priority: Minor
As a developer, it would be helpful to have evaluate a property value with case insensitivity. This issue became apparent when importing properties from a file where a property's value could be true or false. Here another person may put in TRUE or FALSE. To circumvent this, I have to include a comment.
-- 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

[ http://jira.qos.ch/browse/LBCORE-223?page=com.atlassian.jira.plugin.system.i... ] Gordon Dickens commented on LBCORE-223: --------------------------------------- Ceki, That is what I am looking for. Can you provide a link to the available commands for Joran, I was not able to locate one. Thanks, Gordon Dickens
Add Case Insensitive Contains Predicate to Joran ------------------------------------------------
Key: LBCORE-223 URL: http://jira.qos.ch/browse/LBCORE-223 Project: logback-core Issue Type: Improvement Components: Joran Affects Versions: 0.9.30 Reporter: Gordon Dickens Assignee: Logback dev list Priority: Minor
As a developer, it would be helpful to have evaluate a property value with case insensitivity. This issue became apparent when importing properties from a file where a property's value could be true or false. Here another person may put in TRUE or FALSE. To circumvent this, I have to include a comment.
-- 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

[ http://jira.qos.ch/browse/LBCORE-223?page=com.atlassian.jira.plugin.system.i... ] Ceki Gulcu commented on LBCORE-223: ----------------------------------- See [1] . The relevant text is: The condition is a Java expression in which only context properties or system properties are accessible. For a key passed as argument, the property() or its shorter equivalent p() methods return the String value of the property. For example, to access the value of a property with key "k", you would write property("k") or equivalently p("k"). If the property with key "k" is undefined, the property method will return the empty string and not null. This avoids the need to check for null values. If you need to check whether a property is null, the isNull() method is provided. For example, you can write isNull("k"). In short, property and p are all the "commands". They return strings with all the methods associated with strings. [1] http://logback.qos.ch/manual/configuration.html#conditional
Add Case Insensitive Contains Predicate to Joran ------------------------------------------------
Key: LBCORE-223 URL: http://jira.qos.ch/browse/LBCORE-223 Project: logback-core Issue Type: Improvement Components: Joran Affects Versions: 0.9.30 Reporter: Gordon Dickens Assignee: Logback dev list Priority: Minor
As a developer, it would be helpful to have evaluate a property value with case insensitivity. This issue became apparent when importing properties from a file where a property's value could be true or false. Here another person may put in TRUE or FALSE. To circumvent this, I have to include a comment.
-- 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
participants (2)
-
Ceki Gulcu (JIRA)
-
Gordon Dickens (JIRA)