From 6a5c72f37701000df7f6e8b09a25a5ee529a4f24 Mon Sep 17 00:00:00 2001 From: jprocter Date: Sun, 6 Jun 2010 14:57:59 +0000 Subject: [PATCH] prevent multiple attempts to initialise logging --- src/jalview/bin/Cache.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index cebb504..5688ae1 100755 --- a/src/jalview/bin/Cache.java +++ b/src/jalview/bin/Cache.java @@ -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 -- 1.7.10.2