1
0
Fork 0
mirror of synced 2024-07-03 21:40:55 +12:00

Fixing merge issue

This commit is contained in:
Rory Powell 2023-07-19 17:18:37 +01:00
parent ecf75a9685
commit 6631c2644d
3 changed files with 3 additions and 10 deletions

View file

@ -2,6 +2,3 @@ export * as correlation from "./correlation/correlation"
export { logger } from "./pino/logger"
export * from "./alerts"
export * as system from "./system"
// turn off or on context logging i.e. tenantId, appId etc
export let LOG_CONTEXT = true

View file

@ -2,11 +2,9 @@ import pino, { LoggerOptions } from "pino"
import pinoPretty from "pino-pretty"
import { IdentityType } from "@budibase/types"
import env from "../../environment"
import * as context from "../../context"
import * as correlation from "../correlation"
import { LOG_CONTEXT } from "../index"
import { localFileDestination } from "../system"

View file

@ -1,5 +1,3 @@
import { logging } from "@budibase/backend-core"
logging.LOG_CONTEXT = false
jest.retryTimes(2)
jest.setTimeout(60000)
const envTimeout = process.env.JEST_TIMEOUT
const timeout = envTimeout && parseInt(envTimeout)
jest.setTimeout(timeout || 60000)