]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Be more verbose about log file locations
authorZack Cerza <zack@cerza.org>
Mon, 27 Jan 2014 18:28:53 +0000 (12:28 -0600)
committerZack Cerza <zack@cerza.org>
Mon, 27 Jan 2014 18:28:53 +0000 (12:28 -0600)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/queue.py

index a0e16be3b812ca75c9bbe8c7f635c8fe14be03ec..9a3e6f5a85cee994ea5316051758fd0236130db2 100644 (file)
@@ -203,7 +203,7 @@ def worker(ctx):
             ]
             subprocess.Popen(args=args).wait()
         else:
-            log.debug('Creating archive dir...')
+            log.debug('Creating archive dir %s', archive_path_full)
             safepath.makedirs(ctx.archive_dir, safe_archive)
             log.info('Running job %d', job.jid)
             run_job(job_config, teuth_bin_path)
@@ -302,6 +302,7 @@ def run_job(job_config, teuth_bin_path):
         p = subprocess.Popen(args=arg)
         log.info("Job archive: %s", job_config['archive_path'])
         try:
+            log.debug("Worker log: %s", job_config['worker_log'])
             os.symlink(job_config['worker_log'],
                        os.path.join(job_config['archive_path'], 'worker.log'))
         except Exception: