prevent multiple attempts to initialise logging
authorjprocter <Jim Procter>
Sun, 6 Jun 2010 14:57:59 +0000 (14:57 +0000)
committerjprocter <Jim Procter>
Sun, 6 Jun 2010 14:57:59 +0000 (14:57 +0000)
src/jalview/bin/Cache.java

index cebb504..5688ae1 100755 (executable)
@@ -170,6 +170,10 @@ public class Cache
 
   public static void initLogger()
   {
+    if (log!=null)
+    {
+      return;
+    }
     try
     {
       // TODO: redirect stdout and stderr here in order to grab the output of