@@ -1173,29 +1173,6 @@ private String makeTemplateQAPage() {
11731173 return page.replace("{{npm}}", templateInfo.asString("name"));
11741174 }
11751175
1176- private void processTxLog(String path) throws FileNotFoundException, IOException {
1177- if (txLog != null && new File(txLog).exists()) {
1178- String tx = FileUtilities.fileToString(txLog);
1179- PrintStream f = new PrintStream(new FileOutputStream(path));
1180- String title = "Terminology Server Log";
1181- f.println("<html><head><title>"+title+"</title></head><body><h2>"+title+"</h2><pre>");
1182- for (String s : tx.split("\\r?\\n|\\r")) {
1183- if (s.startsWith("---") && s.endsWith("---")) {
1184- f.println("</pre><hr/>");
1185- String id = s.replace("-", "").trim();
1186- f.println("<a name=\"l"+id+"\"> </a><h3>"+id+"</h3>");
1187- f.println("<pre>");
1188- } else {
1189- f.println(s.replace("<", "<"));
1190- }
1191- }
1192- //f.print(tx);
1193- f.println("</pre></head></html>");
1194- f.close();
1195- }
1196- }
1197-
1198-
11991176 public void createIg() throws Exception, IOException, EOperationOutcome, FHIRException {
12001177 try {
12011178 TimeTracker.Session tts = tt.start("loading");
@@ -1256,7 +1233,6 @@ public void createIg() throws Exception, IOException, EOperationOutcome, FHIRExc
12561233 if (isChild()) {
12571234 log("Built. "+tt.report());
12581235 } else {
1259- processTxLog(Utilities.path(destDir != null ? destDir : outputDir, "qa-tx.html"));
12601236 log("Built. "+tt.report());
12611237 log("Generating QA");
12621238 log("Validation output in "+val.generate(sourceIg.getName(), errors, fileList, Utilities.path(destDir != null ? destDir : outputDir, "qa.html"), suppressedMessages, pinSummary()));
@@ -3466,7 +3442,7 @@ else if (vsCache == null) {
34663442 for (String n : expParamMap.values())
34673443 context.getExpansionParameters().addParameter(n, expParamMap.get(n));
34683444
3469- txLog = FileUtilities.createTempFile("fhir-ig-", ".log ").getAbsolutePath();
3445+ txLog = FileUtilities.createTempFile("fhir-ig-", ".html ").getAbsolutePath();
34703446 System.out.println("Running Terminology Log: "+txLog);
34713447 if (mode != IGBuildMode.WEBSERVER) {
34723448 if (txServer == null || !txServer.contains(":")) {
0 commit comments