Issue Details (XML | Word | Printable)

Key: LOG4NET-34
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: Ron Grabowski
Votes: 0
Watchers: 0
Operations

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

Allow xml config values to be set via XmlNodeType.CDATA or XmlNodeType.Text rather than just value="foo"

Created: 15/Jun/05 10:15 PM   Updated: 17/Jun/05 03:01 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2.10

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works XmlHierarchyConfigurator.cs.patch 2005-06-15 10:17 PM Ron Grabowski 1 kB

Resolution Date: 17/Jun/05 03:01 AM


 Description  « Hide
Currently values for xml config nodes must be passed in via the value attribute:

 <conversionPattern value="%5p %d{yyyy-MM-dd hh:mm:ss tt} (%c:%L) - %m%n" />

Why isn't this syntax supported?

 <conversionPattern>%5p %d{yyyy-MM-dd hh:mm:ss tt} (%c:%L) - %m%n</conversionPattern>

If the above syntax were supported, a possible solution to this question:

 http://www.mail-archive.com/log4net-user%40logging.apache.org/msg01791.html

would be:

 <conversionPattern>
  <![CDATA[<header>%n <date>%d</date>%n <user>%u</user>%n <info>%m</info>%n</header>%n]]>
 </conversionPattern>

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Ron Grabowski made changes - 15/Jun/05 10:18 PM
Field Original Value New Value
Attachment XmlHierarchyConfigurator.cs.patch [ 12310769 ]
Nicko Cadell made changes - 17/Jun/05 03:01 AM
Fix Version/s 1.2.10 [ 11128 ]
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]