got rid of errors in Stackdriver Logging (#245)

This commit is contained in:
Daniel Sanche 2019-09-20 12:11:49 -07:00 committed by Megan O'Keefe
parent 3f577b60a0
commit 4681320f80
3 changed files with 3 additions and 1 deletions

View file

@ -37,4 +37,5 @@ def getJSONLogger(name):
handler.setFormatter(formatter)
logger.addHandler(handler)
logger.setLevel(logging.INFO)
logger.propagate = False
return logger

View file

@ -24,4 +24,4 @@ if [[ -z "${FRONTEND_ADDR}" ]]; then
fi
set -x
locust --host="http://${FRONTEND_ADDR}" --no-web -c "${USERS:-10}"
locust --host="http://${FRONTEND_ADDR}" --no-web -c "${USERS:-10}" 2>&1

View file

@ -37,4 +37,5 @@ def getJSONLogger(name):
handler.setFormatter(formatter)
logger.addHandler(handler)
logger.setLevel(logging.INFO)
logger.propagate = False
return logger