XmlLayoutBase64EncodeProperties Property Apache log4net™ SDK Documentation
Set whether or not to base64 encode the property values.

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

public bool Base64EncodeProperties { get; set; }

Property Value

Type: Boolean
Remarks

By default the properties will be written as text to the xml output. This can cause problems when one or more properties contain binary data. By setting this to true the values of the properties will be base64 encoded. If this is set then invalid character replacement (see InvalidCharReplacement) will not be performed on the property values.

See Also

Reference