From e2fc14e22c141a53dabf2c032eaa1d4844ffb096 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 8 Dec 2021 15:48:37 +0000 Subject: [PATCH] JAL-3551 JAL-3931 view pymol commands/responses in Log.trace --- src/jalview/ext/pymol/PymolManager.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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; } -- 1.7.10.2