implemented reading of logs in func tests