Skip to content

Commit

Permalink
Merge pull request #2918 from locustio/lower-log-level-for-unneecessa…
Browse files Browse the repository at this point in the history
…ry---autostart-argument

lower log level for unnecessary --autostart argument
  • Loading branch information
cyberw authored Sep 28, 2024
2 parents e928911 + 7cef173 commit 18fa280
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions locust/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,10 +517,10 @@ def ensure_user_class_name(config):
web_ui = None

if options.autostart and options.headless:
logger.warning("The --autostart argument is implied by --headless, no need to set both.")
logger.info("The --autostart argument is implied by --headless, no need to set both.")

if options.autostart and options.worker:
logger.warning("The --autostart argument has no meaning on a worker.")
logger.info("The --autostart argument has no meaning on a worker.")

def assign_equal_weights(environment, **kwargs):
environment.assign_equal_weights()
Expand Down

0 comments on commit 18fa280

Please sign in to comment.