private XElement AddLog4NetElement()
{
if (_messages.Any())
{
_messages.Add("Skipping adding Apprenda configuration log4net section due to previous messages.");
return null;
}
var loggingElement = new XElement("log4net");
_configurationNode.Add(loggingElement);
return loggingElement;
}