got rid of errors in Stackdriver Logging (#245)
This commit is contained in:
parent
3f577b60a0
commit
4681320f80
3 changed files with 3 additions and 1 deletions
|
@ -37,4 +37,5 @@ def getJSONLogger(name):
|
||||||
handler.setFormatter(formatter)
|
handler.setFormatter(formatter)
|
||||||
logger.addHandler(handler)
|
logger.addHandler(handler)
|
||||||
logger.setLevel(logging.INFO)
|
logger.setLevel(logging.INFO)
|
||||||
|
logger.propagate = False
|
||||||
return logger
|
return logger
|
||||||
|
|
|
@ -24,4 +24,4 @@ if [[ -z "${FRONTEND_ADDR}" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
locust --host="http://${FRONTEND_ADDR}" --no-web -c "${USERS:-10}"
|
locust --host="http://${FRONTEND_ADDR}" --no-web -c "${USERS:-10}" 2>&1
|
||||||
|
|
|
@ -37,4 +37,5 @@ def getJSONLogger(name):
|
||||||
handler.setFormatter(formatter)
|
handler.setFormatter(formatter)
|
||||||
logger.addHandler(handler)
|
logger.addHandler(handler)
|
||||||
logger.setLevel(logging.INFO)
|
logger.setLevel(logging.INFO)
|
||||||
|
logger.propagate = False
|
||||||
return logger
|
return logger
|
||||||
|
|
Loading…
Reference in a new issue