Modify code to use glog instead.