remotion-dev/remotion · error · Error
The config format has changed. Change `Config.Log.*()` calls
Error message
The config format has changed. Change `Config.Log.*()` calls to `Config.*()` in your config file.
What it means
`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(...)`.
Source
Thrown at packages/cli/src/config/index.ts:745
export const Config: FlatConfig = {
get Bundling() {
throw new Error(
'The config format has changed. Change `Config.Bundling.*()` calls to `Config.*()` in your config file.',
);
},
get Rendering() {
throw new Error(
'The config format has changed. Change `Config.Rendering.*()` calls to `Config.*()` in your config file.',
);
},
get Output() {
throw new Error(
'The config format has changed. Change `Config.Output.*()` calls to `Config.*()` in your config file.',
);
},
get Log() {
throw new Error(
'The config format has changed. Change `Config.Log.*()` calls to `Config.*()` in your config file.',
);
},
get Preview() {
throw new Error(
'The config format has changed. Change `Config.Preview.*()` calls to `Config.*()` in your config file.',
);
},
get Puppeteer() {
throw new Error(
'The config format has changed. Change `Config.Puppeteer.*()` calls to `Config.*()` in your config file.',
);
},
setMaxTimelineTracks: StudioServerInternals.setMaxTimelineTracks,
setKeyboardShortcutsEnabled: keyboardShortcutsOption.setConfig,
setInteractivityEnabled: interactivityOption.setConfig,
setAllowHtmlInCanvasEnabled,
setRspack: rspackOption.setConfig,View on GitHub (pinned to 78fe4bb3fd)
Solutions
- Replace `Config.Log.setLevel(...)` with `Config.setLogLevel(...)`.
- Use the migration guide to confirm the new flat setter names for any other `Log.*` calls.
Example fix
// before
Config.Log.setLevel('verbose');
// after
Config.setLogLevel('verbose'); Defensive patterns
Strategy: validation
Validate before calling
const src = readFileSync('remotion.config.ts', 'utf8');
if (/Config\.Log\./.test(src)) {
throw new Error('Remove Config.Log.* calls; use Config.setLogLevel().');
} Prevention
- 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.
When it happens
Trigger: A config file calling `Config.Log.setLevel(...)` (or any `Config.Log.*`) under Remotion 4.x+/5.x.
Common situations: 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.
Related errors
- The config format has changed. Change `Config.Bundling.*()`
- The config format has changed. Change `Config.Rendering.*()`
- The config format has changed. Change `Config.Output.*()` ca
- The config format has changed. Change `Config.Preview.*()` c
- The config format has changed. Change `Config.Puppeteer.*()`
AI-assisted analysis of remotion-dev/remotion@78fe4bb3fd (2026-08-12).
Data as JSON: /api/errors/07ca3ca63695dfca.
Report an issue: GitHub.