Allow user to override root directory for fileappenders
-------------------------------------------------------
Key: LOG4NET-4
URL: http://issues.apache.org/jira/browse/LOG4NET-4
Project: Log4net
Type: Improvement
Components: Appenders
Versions: 1.2.9
Environment: From sourceforge - 804606
Reporter: Nicko Cadell
Priority: Minor
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.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira