Fixing merge issue
This commit is contained in:
parent
ecf75a9685
commit
6631c2644d
|
@ -2,6 +2,3 @@ export * as correlation from "./correlation/correlation"
|
||||||
export { logger } from "./pino/logger"
|
export { logger } from "./pino/logger"
|
||||||
export * from "./alerts"
|
export * from "./alerts"
|
||||||
export * as system from "./system"
|
export * as system from "./system"
|
||||||
|
|
||||||
// turn off or on context logging i.e. tenantId, appId etc
|
|
||||||
export let LOG_CONTEXT = true
|
|
||||||
|
|
|
@ -2,11 +2,9 @@ import pino, { LoggerOptions } from "pino"
|
||||||
import pinoPretty from "pino-pretty"
|
import pinoPretty from "pino-pretty"
|
||||||
|
|
||||||
import { IdentityType } from "@budibase/types"
|
import { IdentityType } from "@budibase/types"
|
||||||
|
|
||||||
import env from "../../environment"
|
import env from "../../environment"
|
||||||
import * as context from "../../context"
|
import * as context from "../../context"
|
||||||
import * as correlation from "../correlation"
|
import * as correlation from "../correlation"
|
||||||
import { LOG_CONTEXT } from "../index"
|
|
||||||
|
|
||||||
import { localFileDestination } from "../system"
|
import { localFileDestination } from "../system"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { logging } from "@budibase/backend-core"
|
const envTimeout = process.env.JEST_TIMEOUT
|
||||||
logging.LOG_CONTEXT = false
|
const timeout = envTimeout && parseInt(envTimeout)
|
||||||
|
jest.setTimeout(timeout || 60000)
|
||||||
jest.retryTimes(2)
|
|
||||||
jest.setTimeout(60000)
|
|
Loading…
Reference in New Issue