separating the log function from run_tests.py to api.log