Fixed logging to rely on glog.