add test cover configuration exception when user does not set up log path in config file.
should write log successfully.
Should log information with formatter.