Skip to content

Commit

Permalink
lower log level for unnecessary --autostart argument
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Sep 28, 2024
1 parent e928911 commit 7cef173
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 7cef173

Please sign in to comment.