Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

XmlLayout.Base64EncodeMessage Property

Set whether or not to base64 encode the message.



By default the log message will be written as text to the xml output. This can cause problems when the message contains binary data. By setting this to true the contents of the message will be base64 encoded. If this is set then invalid character replacement (see InvalidCharReplacement) will not be performed on the log message.

See Also

XmlLayout Class | log4net.Layout Namespace