logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Choy (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4NET-321) Add AppSettings lookup to configuration reader value setting
Date Wed, 25 Jan 2012 17:30:40 GMT

    [ https://issues.apache.org/jira/browse/LOG4NET-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13193146#comment-13193146
] 

Jonathan Choy commented on LOG4NET-321:
---------------------------------------

Suggested syntax would be in the same style as $env{value}:

$AppSetting{keyname} would retrieve the setting from ConfigurationManager.AppSetting[keyname]
if present, with not-present using the same missing value semantics as $env.

Suggested semantic enhancement if not present: If in debug mode, report empty key lookup substitutions
from both $env and $AppSetting.

                
> Add AppSettings lookup to configuration reader value setting
> ------------------------------------------------------------
>
>                 Key: LOG4NET-321
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-321
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.2.11
>            Reporter: Jonathan Choy
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Add wrapper lookup to resolve AppSetting key/value pairs in the same fashion as environment
variables during configuration. This facilitates deploying the same codebase across environments
where the logging configuration differs only by a machine-specific key/value pair that would
already be stored, forex, in the machine.config or a per-server or per-environment local web.config
transform, and the transform is applicable but setting environment variables is not. (AppHarbor
style hosting, for a specific example).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message