Add runtime and test logging