Commit 2139cad1fef74b7e1957260e0a66f144e881fe43

Authored by Jürgen Knödlseder
1 parent cba332cd

Switch console logging only on in debug mode.

Showing 1 changed file with 3 additions and 2 deletions
cscripts/csiactcopy.py
... ... @@ -309,8 +309,9 @@ class csiactcopy(ctools.cscript):
309 309 """
310 310 Run the script.
311 311 """
312   - # Switch screen logging on
313   - self._log.cout(True)
  312 + # Switch screen logging on in debug mode
  313 + if self._logDebug():
  314 + self._log.cout(True)
314 315  
315 316 # Get parameters
316 317 self._get_parameters()
... ...