Issue Details (XML | Word | Printable)

Key: LOG4NET-53
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Nicko Cadell
Reporter: Nicko Cadell
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4net

Allow repository properties to be set in the config file

Created: 31/Oct/05 10:12 AM   Updated: 03/Jan/08 01:39 AM
Return to search
Component/s: Core
Affects Version/s: None
Fix Version/s: 1.2.10

Time Tracking:
Not Specified

Issue Links:
Incorporates
 

Resolution Date: 31/Oct/05 10:14 AM


 Description  « Hide
The LoggerRepository supports Properties. These are avaliable to the extensions, appenders, and plugins attached to the repository. While these properties can be set programatically it is not possible to set them through the config file.

We should allow properties to be set in the config file using the following schema:

<property>
  <key value="PropertyName" />
  <value value="PropertyValue" />
</property>

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #329690 Mon Oct 31 01:12:53 UTC 2005 nicko LOG4NET-53 Allow repository properties to be set in the config file
Files Changed
MODIFY /logging/log4net/trunk/src/Repository/Hierarchy/Hierarchy.cs

Nicko Cadell added a comment - 31/Oct/05 10:14 AM
Added method AddProperty to Hierarchy. The <property> element in the config maps through to this method.

Nicko Cadell made changes - 31/Oct/05 10:14 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Fix Version/s 1.2.10 [ 11128 ]
Ron Grabowski made changes - 03/Jan/08 01:39 AM
Link This issue is part of LOG4NET-31 [ LOG4NET-31 ]
Repository Revision Date User Message
ASF #611623 Sun Jan 13 18:45:31 UTC 2008 rgrabowski Added test for LOG4NET-53 (allow repository properties to be set in xml config file). Added test case for LOG4NET-31 (allow additional properties to be set on converters).
Files Changed
ADD /logging/log4net/trunk/tests/src/Util/PatternConverterTest.cs
MODIFY /logging/log4net/trunk/tests/src/log4net.Tests.vs2005.csproj
ADD /logging/log4net/trunk/tests/src/Hierarchy/Hierarchy.cs