chore(core): Add temporary CLI option to enable logs view (no-changelog) (#14899)

This commit is contained in:
Suguru Inoue
2025-04-25 15:44:55 +02:00
committed by GitHub
parent 28596a633e
commit e27e630af9
6 changed files with 22 additions and 5 deletions

View File

@@ -300,4 +300,13 @@ export const schema = {
env: 'N8N_PROXY_HOPS',
doc: 'Number of reverse-proxies n8n is running behind',
},
logs_view: {
enabled: {
format: Boolean,
default: false,
env: 'N8N_ENABLE_LOGS_VIEW',
doc: 'Temporary env variable to enable logs view',
},
},
};

View File

@@ -252,6 +252,9 @@ export class FrontendService {
summary: true,
dashboard: false,
},
logsView: {
enabled: false,
},
};
}
@@ -389,6 +392,8 @@ export class FrontendService {
this.settings.folders.enabled = this.license.isFoldersEnabled();
this.settings.logsView.enabled = config.get('logs_view.enabled');
return this.settings;
}