exclude special log files;
authorwenzelm
Sat, 29 Apr 2017 20:56:28 +0200
changeset 65639 4c14da234221
parent 65638 f86798cbe0c2
child 65640 7a26c337e016
exclude special log files;
src/Pure/Admin/build_log.scala
--- a/src/Pure/Admin/build_log.scala	Sat Apr 29 20:34:46 2017 +0200
+++ b/src/Pure/Admin/build_log.scala	Sat Apr 29 20:56:28 2017 +0200
@@ -138,8 +138,12 @@
       suffixes: List[String] = List(".log", ".log.gz", ".log.xz")): Boolean =
     {
       val name = file.getName
+
       prefixes.exists(name.startsWith(_)) &&
-      suffixes.exists(name.endsWith(_))
+      suffixes.exists(name.endsWith(_)) &&
+      name != "isatest.log" &&
+      name != "afp-test.log" &&
+      name != "main.log"
     }
 
     def find_files(dirs: Iterable[Path]): List[JFile] =