fix config path bug, add header log