Update config.py

Added logging option.