Don't use glog until LogDir has been read

Because otherwise it creates the log files in the /tmp directory,
and setting the log directory after that does nothing.