XmlLayoutBaseInvalidCharReplacement Property Apache log4net™ SDK Documentation
The string to replace characters that can not be expressed in XML with.
Remarks

Not all characters may be expressed in XML. This property contains the string to replace those that can not with. This defaults to a ?. Set it to the empty string to simply remove offending characters. For more details on the allowed character ranges see http://www.w3.org/TR/REC-xml/#charsets Character replacement will occur in the log message, the property names and the property values.

Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public string InvalidCharReplacement { get; set; }

Property Value

Type: String
See Also

Reference