{"record":{"id":"07ca3ca63695dfca","repo":"remotion-dev/remotion","slug":"the-config-format-has-changed-change-config-log","errorCode":null,"errorMessage":"The config format has changed. Change `Config.Log.*()` calls to `Config.*()` in your config file.","messagePattern":"The config format has changed\\. Change `Config\\.Log\\.\\*\\(\\)` calls to `Config\\.\\*\\(\\)` in your config file\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/cli/src/config/index.ts","lineNumber":745,"sourceCode":"\nexport const Config: FlatConfig = {\n\tget Bundling() {\n\t\tthrow new Error(\n\t\t\t'The config format has changed. Change `Config.Bundling.*()` calls to `Config.*()` in your config file.',\n\t\t);\n\t},\n\tget Rendering() {\n\t\tthrow new Error(\n\t\t\t'The config format has changed. Change `Config.Rendering.*()` calls to `Config.*()` in your config file.',\n\t\t);\n\t},\n\tget Output() {\n\t\tthrow new Error(\n\t\t\t'The config format has changed. Change `Config.Output.*()` calls to `Config.*()` in your config file.',\n\t\t);\n\t},\n\tget Log() {\n\t\tthrow new Error(\n\t\t\t'The config format has changed. Change `Config.Log.*()` calls to `Config.*()` in your config file.',\n\t\t);\n\t},\n\tget Preview() {\n\t\tthrow new Error(\n\t\t\t'The config format has changed. Change `Config.Preview.*()` calls to `Config.*()` in your config file.',\n\t\t);\n\t},\n\tget Puppeteer() {\n\t\tthrow new Error(\n\t\t\t'The config format has changed. Change `Config.Puppeteer.*()` calls to `Config.*()` in your config file.',\n\t\t);\n\t},\n\tsetMaxTimelineTracks: StudioServerInternals.setMaxTimelineTracks,\n\tsetKeyboardShortcutsEnabled: keyboardShortcutsOption.setConfig,\n\tsetInteractivityEnabled: interactivityOption.setConfig,\n\tsetAllowHtmlInCanvasEnabled,\n\tsetRspack: rspackOption.setConfig,","sourceCodeStart":727,"sourceCodeEnd":763,"githubUrl":"https://github.com/remotion-dev/remotion/blob/78fe4bb3fdb5a2cd68724393d63cb223db333fa7/packages/cli/src/config/index.ts#L727-L763","documentation":"`Config.Log` was the namespaced getter for log-level configuration in the old Remotion config layout. The flat `Config` object throws on access to force migration to `Config.setLogLevel(...)`.","triggerScenarios":"A config file calling `Config.Log.setLevel(...)` (or any `Config.Log.*`) under Remotion 4.x+/5.x.","commonSituations":"Un-migrated config after a major version upgrade; copied snippet from an outdated tutorial; CI failing immediately on first config load after a dependency bump.","solutions":["Replace `Config.Log.setLevel(...)` with `Config.setLogLevel(...)`.","Use the migration guide to confirm the new flat setter names for any other `Log.*` calls."],"exampleFix":"// before\nConfig.Log.setLevel('verbose');\n// after\nConfig.setLogLevel('verbose');","handlingStrategy":"validation","validationCode":"const src = readFileSync('remotion.config.ts', 'utf8');\nif (/Config\\.Log\\./.test(src)) {\n  throw new Error('Remove Config.Log.* calls; use Config.setLogLevel().');\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Search-and-replace the whole namespace group in one pass on upgrade.","Lock dependency versions in lockfile so a transitive major bump cannot surprise CI."],"tags":["config","migration","breaking-change","deprecation","logging"],"backgroundTag":null,"analyzedSha":"78fe4bb3fdb5a2cd68724393d63cb223db333fa7","analyzedAt":"2026-08-12T17:18:50.444Z","schemaVersion":2},"datasetVersion":"2026-08-12T18:17:37.767Z"}