logging level should be determined by the logging level field in the configure file. by default, it should call os.Exit() on logger.Fatal(). Add test for this.