added alternative log render functions
added test case
read config.cfg for hosts too