Locust comes with a basic logging configuration that optionally takes --loglevel and/or --logfile to modify the configuration. If you want to control the logging configuration you can supply the --skip-log-setup flag, which ignores the other parameters.



Disable Locust’s logging setup. Instead, the configuration is provided by the Locust test or Python defaults.


Choose between DEBUG/INFO/WARNING/ERROR/CRITICAL. Default is INFO. The short-hand version is -L.


Path to log file. If not set, log will go to stdout/stderr.