Add config option for logging chat