Set whether or not to base64 encode the property values.
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.
XmlLayout Class | log4net.Layout Namespace