[
https://issues.apache.org/jira/browse/LOG4NET-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Bodewig updated LOG4NET-4:
---------------------------------
Fix Version/s: 1.2 Maintenance Release
> Allow user to override root directory for fileappenders
> -------------------------------------------------------
>
> Key: LOG4NET-4
> URL: https://issues.apache.org/jira/browse/LOG4NET-4
> Project: Log4net
> Issue Type: Improvement
> Components: Appenders
> Affects Versions: 1.2.9
> Environment: From sourceforge - 804606
> Reporter: Nicko Cadell
> Priority: Minor
> Fix For: 1.2 Maintenance Release
>
>
> When creating a COM-exposed object (or COM+), you can't
> readily use a relative file path in your fileappenders
> since log4net is hardcoded to use
> AppDomain.CurrentDomain.BaseDirectory which for a COM+
> component hosted in dllhost would be systemroot\system32.
> I couldn't find a workaround save for regenerating the
> xml configuration.
> A call to set the root directory would be great.
> If there was a way to get a list of all appenders after
> configuration, maybe there could be a workaround.
> Anonymous
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira