Skip to content

Commit

Permalink
Add an explicit log entry for when a task runner starts (#1675)
Browse files Browse the repository at this point in the history
This will assist with debugging the entire logged session of a worker
with the same thread ID (as added by `_setup_logging_extra_info()`)
  • Loading branch information
andrewpollock authored Sep 28, 2023
1 parent e9e615e commit 408ae42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/worker/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ def __init__(self, ndb_client, oss_fuzz_dir, work_dir, ssh_key_public_path,
self._ssh_key_public_path = ssh_key_public_path
self._ssh_key_private_path = ssh_key_private_path
os.makedirs(self._sources_dir, exist_ok=True)
logging.info('Created task runner')

def _git_callbacks(self, source_repo):
"""Get git auth callbacks."""
Expand Down

0 comments on commit 408ae42

Please sign in to comment.