config logging using internal env parser
added ability to print defaults