From: Jim Procter Date: Wed, 8 Dec 2021 15:48:37 +0000 (+0000) Subject: JAL-3551 JAL-3931 view pymol commands/responses in Log.trace X-Git-Tag: Release_2_11_2_0~21^2~1^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e2fc14e22c141a53dabf2c032eaa1d4844ffb096;p=jalview.git JAL-3551 JAL-3931 view pymol commands/responses in Log.trace --- diff --git a/src/jalview/ext/pymol/PymolManager.java b/src/jalview/ext/pymol/PymolManager.java index 26c780d..5f22526 100644 --- a/src/jalview/ext/pymol/PymolManager.java +++ b/src/jalview/ext/pymol/PymolManager.java @@ -169,6 +169,14 @@ public class PymolManager { out.close(); } + if (Cache.log.isTraceEnabled()) + { + Cache.log.trace("Sent: " + command.toString()); + if (result != null) + { + Cache.log.trace("Received: " + result); + } + } } return result; }