Browse Source

executor: change execution log to INFO

This change adds an info log to record the job name and the change url.

Change-Id: I6729454882883e4b1ddc21891791d0215d7dd60b
changes/04/578704/5
Tristan Cacqueray 3 years ago
parent
commit
dd114050e6
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      zuul/executor/server.py

+ 5
- 2
zuul/executor/server.py View File

@ -690,8 +690,11 @@ class AnsibleJob(object):
def _execute(self):
args = json.loads(self.job.arguments)
self.log.debug("Beginning job %s for ref %s" %
(self.job.name, args['zuul']['ref']))
self.log.info(
"Beginning job %s for ref %s (change %s)" % (
args['zuul']['job'],
args['zuul']['ref'],
args['zuul']['change_url']))
self.log.debug("Job root: %s" % (self.jobdir.root,))
tasks = []
projects = set()


Loading…
Cancel
Save