Add switch for glog