update gateway sample (log config)