From: jprocter Date: Sun, 6 Jun 2010 14:57:59 +0000 (+0000) Subject: prevent multiple attempts to initialise logging X-Git-Tag: Release_2_5_1~23 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6a5c72f37701000df7f6e8b09a25a5ee529a4f24;p=jalview.git prevent multiple attempts to initialise logging --- 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