diff --git a/cscripts/csiactcopy.py b/cscripts/csiactcopy.py index bee4c50..f52167c 100755 --- a/cscripts/csiactcopy.py +++ b/cscripts/csiactcopy.py @@ -309,8 +309,9 @@ class csiactcopy(ctools.cscript): """ Run the script. """ - # Switch screen logging on - self._log.cout(True) + # Switch screen logging on in debug mode + if self._logDebug(): + self._log.cout(True) # Get parameters self._get_parameters()