@@ -1163,29 +1163,6 @@ private String makeTemplateQAPage() {
11631163 return page.replace("{{npm}}", templateInfo.asString("name"));
11641164 }
11651165
1166- private void processTxLog(String path) throws FileNotFoundException, IOException {
1167- if (txLog != null && new File(txLog).exists()) {
1168- String tx = FileUtilities.fileToString(txLog);
1169- PrintStream f = new PrintStream(new FileOutputStream(path));
1170- String title = "Terminology Server Log";
1171- f.println("<html><head><title>"+title+"</title></head><body><h2>"+title+"</h2><pre>");
1172- for (String s : tx.split("\\r?\\n|\\r")) {
1173- if (s.startsWith("---") && s.endsWith("---")) {
1174- f.println("</pre><hr/>");
1175- String id = s.replace("-", "").trim();
1176- f.println("<a name=\"l"+id+"\"> </a><h3>"+id+"</h3>");
1177- f.println("<pre>");
1178- } else {
1179- f.println(s.replace("<", "<"));
1180- }
1181- }
1182- //f.print(tx);
1183- f.println("</pre></head></html>");
1184- f.close();
1185- }
1186- }
1187-
1188-
11891166 public void createIg() throws Exception, IOException, EOperationOutcome, FHIRException {
11901167 try {
11911168 TimeTracker.Session tts = tt.start("loading");
@@ -1245,7 +1222,6 @@ public void createIg() throws Exception, IOException, EOperationOutcome, FHIRExc
12451222 if (isChild()) {
12461223 log("Built. "+tt.report());
12471224 } else {
1248- processTxLog(Utilities.path(destDir != null ? destDir : outputDir, "qa-tx.html"));
12491225 log("Built. "+tt.report());
12501226 log("Generating QA");
12511227 log("Validation output in "+val.generate(sourceIg.getName(), errors, fileList, Utilities.path(destDir != null ? destDir : outputDir, "qa.html"), suppressedMessages));
@@ -3431,7 +3407,7 @@ else if (vsCache == null) {
34313407 for (String n : expParamMap.values())
34323408 context.getExpansionParameters().addParameter(n, expParamMap.get(n));
34333409
3434- txLog = FileUtilities.createTempFile("fhir-ig-", ".log ").getAbsolutePath();
3410+ txLog = FileUtilities.createTempFile("fhir-ig-", ".html ").getAbsolutePath();
34353411 System.out.println("Running Terminology Log: "+txLog);
34363412 if (mode != IGBuildMode.WEBSERVER) {
34373413 if (txServer == null || !txServer.contains(":")) {
0 commit comments