mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
chore(core): Add temporary CLI option to enable logs view (no-changelog) (#14899)
This commit is contained in:
@@ -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',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user