MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / backendLogLevel

Function backendLogLevel

scripts/dev-safe.mjs:881–884  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

879 * @returns {string} An uppercase logging level name
880 */
881export function backendLogLevel(options = {}) {
882 const { verbose = false, env = process.env } = options;
883 return verbose ? "DEBUG" : env.LOG_LEVEL || DEFAULT_BACKEND_LOG_LEVEL;
884}
885
886/** The only names Uvicorn's `--log-level` accepts; anything else exits 2. */
887export const UVICORN_LOG_LEVELS = [

Callers 3

buildAutomationLogArgsFunction · 0.90
startAutomationBackendFunction · 0.90
buildBackendLogEnvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected