You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2020/04/04 22:30:06 UTC

[jira] [Updated] (LOG4NET-4) Allow user to override root directory for fileappenders

     [ https://issues.apache.org/jira/browse/LOG4NET-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers updated LOG4NET-4:
------------------------------

LOG4NET is now dormant.  

> 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/2.0 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 was sent by Atlassian Jira
(v8.3.4#803005)