[ 
http://jira.qos.ch/browse/LBCORE-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12050#action_12050
 ] 

Alexandre Garnier commented on LBCORE-212:
------------------------------------------

Maybe, the prefix parametrization is for people who could have properties 
starting with "env." ?...

The solution can also be simply add all env vars as prefixed properties in 
ch.qos.logback.core.joran.action.PropertyAction :
 * no impact on substVars system with a test on the key to match the prefix
 * the possibility to parametrize the prefix if we want

> Give access to environment variables in configuration file
> ----------------------------------------------------------
>
>                 Key: LBCORE-212
>                 URL: http://jira.qos.ch/browse/LBCORE-212
>             Project: logback-core
>          Issue Type: New Feature
>            Reporter: Alexandre Garnier
>            Assignee: Ceki Gulcu
>
> It would be very nice to be able to access environment variables in 
> configuration files.
> Maybe like in ant with <property environment="env"/> and then ${env.PATH} to 
> access variable.
> In my use case, it's necessary to get the path to the property file to load...

-- 
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

        
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to