소스 검색

add a bit of logging for status change issues

david 7 년 전
부모
커밋
8dd6d3f1df
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      bookworm/file_fetcher.py

+ 1 - 0
bookworm/file_fetcher.py

@@ -16,6 +16,7 @@ def netcat(filename, ip, port, size, job_key, s3client, redis, meta):
     s.connect((ip, port))
     log.info("Receiving file %s", filename)
 
+    log.info('Setting job %s in key %s to DOWNLOADING', job_key, REDIS.STEP_KEY)
     redis.hset(job_key, REDIS.STEP_KEY, 'DOWNLOADING')
     buff = b''
     count = 0