Skip to content

Commit

Permalink
loggings
Browse files Browse the repository at this point in the history
  • Loading branch information
berroar authored Apr 20, 2022
1 parent 15d0276 commit 252ca40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runner_benchmark/taskset.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import random
import re
import time
import logging

from locust import TaskSet, task

Expand All @@ -11,6 +12,7 @@
from .token_generator import create_token

r = random.Random()
logger = logging.getLogger(__name__)


class SurveyRunnerTaskSet(TaskSet, QuestionnaireMixins):
Expand All @@ -21,6 +23,7 @@ def __init__(self, parent):
self.redirect_params = {}
self.include_survey_url_in_token = os.getenv(
'INCLUDE_SURVEY_URL_IN_TOKEN', 'false').lower() == 'true'
logger.info("INCLUDE_SURVEY_URL_IN_TOKEN", include_survey_url_in_token=self.include_survey_url_in_token)

requests_filepath = os.environ.get('REQUESTS_JSON', 'requests.json')

Expand Down

0 comments on commit 252ca40

Please sign in to comment.