chore: Change default log level (#7402)
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import { track } from "medusa-telemetry"
|
||||
import ora from "ora"
|
||||
import stackTrace from "stack-trace"
|
||||
import { ulid } from "ulid"
|
||||
import winston from "winston"
|
||||
import ora from "ora"
|
||||
import { track } from "medusa-telemetry"
|
||||
|
||||
import { panicHandler } from "./panic-handler"
|
||||
import * as Transport from "winston-transport"
|
||||
import { panicHandler } from "./panic-handler"
|
||||
|
||||
const LOG_LEVEL = process.env.LOG_LEVEL || "silly"
|
||||
const LOG_LEVEL = process.env.LOG_LEVEL || "info"
|
||||
const LOG_FILE = process.env.LOG_FILE || ""
|
||||
const NODE_ENV = process.env.NODE_ENV || "development"
|
||||
const IS_DEV = NODE_ENV.startsWith("dev")
|
||||
|
||||
@@ -33,7 +33,7 @@ const log = ({
|
||||
return
|
||||
}
|
||||
|
||||
logger.info(message)
|
||||
logger.debug(message)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user