Don't log on CI
This commit is contained in:
parent
9703564283
commit
6ac57d424c
|
@ -64,8 +64,10 @@ const print = (fn: any, data: any[]) => {
|
||||||
message = message + ` [identityId=${identityId}]`
|
message = message + ` [identityId=${identityId}]`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!process.env.CI) {
|
||||||
fn(message, data)
|
fn(message, data)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const logging = (ctx: any, next: any) => {
|
const logging = (ctx: any, next: any) => {
|
||||||
// use the provided correlation id header if present
|
// use the provided correlation id header if present
|
||||||
|
|
Loading…
Reference in New Issue