added some debug
refactored get job call to job.fetch for both api versions
added send_to_logger for v2