update config analyzer and double logger io.Writer interface for file and console.