Skip to content

Commit

Permalink
Show race id in console (#1311)
Browse files Browse the repository at this point in the history
Users can retrieve details about a race from the metrics store or via
Rally subcommands via the race id. While we log the race id at the
beginning of a race such an important piece of information should be
more visible to users. Therefore, we print the race id also at the
beginning of a race to the console.
  • Loading branch information
danielmitterdorfer authored Aug 11, 2021
1 parent 4c6edf8 commit 76ec2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esrally/racecontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def run(cfg):
logger = logging.getLogger(__name__)
name = cfg.opts("race", "pipeline")
race_id = cfg.opts("system", "race.id")
logger.info("Race id [%s]", race_id)
console.info(f"Race id is [{race_id}]", logger=logger)
if len(name) == 0:
# assume from-distribution pipeline if distribution.version has been specified and --pipeline cli arg not set
if cfg.exists("mechanic", "distribution.version"):
Expand Down

0 comments on commit 76ec2b9

Please sign in to comment.