fixed getChild function not working if not initialized 
fixed getChild function not working if not initialized 

if agathias is not initialized just return a new logger
stefanoschrs/agathias,stefanoschrs/agathias