Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.2.9
-
None
-
From sourceforge - 804606
Description
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