private void initializeFromDocument(XmlDocument document,
boolean isFromWatchDog) throws LogConfigurationException {
XmlNode root = document.getDocumentElement();
if (null == root) {
throw new LogConfigurationException("Invalid configuration file! Root node should not be NULL.");
}
// common properties
this.setCommonProperties(root);
// check if is enabled or not