Task #2181 Add log switch on/off to python scripts

- Put the switch in the file Configuration.py