when write pid file and read configfile,use log ,not logger