Add config option for logging