added warning to log wrapper
fixed errstat loggin dependency to glog