Skip to content

Commit 5b74681

Browse files
committed
Reduce logging output
1 parent e56a5ed commit 5b74681

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

artillery/notify_entrypoint.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export function initUser(context, events, done) {
7878
}
7979

8080
export function generatePrescData(requestParams, context, ee, next) {
81-
logger.info(`Generating a prescription for patient ${context.vars.nhsNumber}`)
81+
logger.debug(`Generating a prescription for patient ${context.vars.nhsNumber}`)
8282
const body = getBody(
8383
true, /* isValid */
8484
"completed", /* status */
@@ -104,7 +104,7 @@ export function generatePrescData(requestParams, context, ee, next) {
104104
}
105105

106106
context.vars.nextDelay = delay
107-
logger.info(`Patient ${context.vars.nhsNumber} (on loop ${context.vars.loopcount}) will think for ${context.vars.nextDelay} seconds`)
107+
logger.debug(`Patient ${context.vars.nhsNumber} (on prescription update ${context.vars.loopcount}/${context.vars.prescriptionCount}) will think for ${context.vars.nextDelay} seconds`)
108108

109109
next()
110110
}

0 commit comments

Comments
 (0)