[
http://jira.qos.ch/browse/LBCORE-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12065#action_12065
]
Ceki Gulcu commented on LBCORE-212:
-----------------------------------
Hi Alexandre,
Looking at your patch at [1], I think it would be simpler to allow access to
environment variables by prefixing their name "env." from anywhere. This
obviates the need to define them within a property element and hence, I have to
say, your patch as well. I'll look into this in the very near future.
https://github.com/zigarn/logback/commit/9aa145824d2b55d371997d516c495
> 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