Element elem = doc.createElement(XML_E_STATION_SECTION);
elem.setAttribute(XML_A_STATION_SECTION_CLASSNAME, CLASSNAME_LOGGER);
nodeNode.appendChild(elem);
// Get this station's logger parameters
LoggerParameters loggerParameters = (LoggerParameters) model
.getLoggingParameters(stationKey);
XMLParameter name = new XMLParameter(XML_LOG_FILENAME,
"java.lang.String", null, loggerParameters.name.toString(),
false);
name.appendParameterElement(doc, elem);
loggerParameters.path = MacroReplacer.replace(model.getLoggingGlbParameter("path")); // temporary
// fix
XMLParameter path = new XMLParameter(XML_LOG_FILEPATH,
"java.lang.String", null,
loggerParameters.getpath().toString(), false);
path.appendParameterElement(doc, elem);
XMLParameter logExecTimestamp = new XMLParameter(
XML_LOG_B_EXECTIMESTAMP, "java.lang.Boolean", null,
loggerParameters.boolExecTimestamp.toString(), false);
logExecTimestamp.appendParameterElement(doc, elem);