mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Downgrade "setting up plugin" log to debug (#58776)
This commit is contained in:
parent
c90cfe208d
commit
be0a4c4e22
2 changed files with 4 additions and 1 deletions
|
@ -102,6 +102,7 @@ describe(`running the plugin-generator via 'node scripts/generate_plugin.js plug
|
|||
'start',
|
||||
'--optimize.enabled=false',
|
||||
'--logging.json=false',
|
||||
'--logging.verbose=true',
|
||||
'--migrations.skip=true',
|
||||
],
|
||||
cwd: generatedPath,
|
||||
|
|
|
@ -95,7 +95,7 @@ export class PluginWrapper<
|
|||
public async setup(setupContext: CoreSetup<TPluginsStart>, plugins: TPluginsSetup) {
|
||||
this.instance = this.createPluginInstance();
|
||||
|
||||
this.log.info('Setting up plugin');
|
||||
this.log.debug('Setting up plugin');
|
||||
|
||||
return this.instance.setup(setupContext, plugins);
|
||||
}
|
||||
|
@ -112,6 +112,8 @@ export class PluginWrapper<
|
|||
throw new Error(`Plugin "${this.name}" can't be started since it isn't set up.`);
|
||||
}
|
||||
|
||||
this.log.debug('Starting plugin');
|
||||
|
||||
const startContract = await this.instance.start(startContext, plugins);
|
||||
this.startDependencies$.next([startContext, plugins]);
|
||||
return startContract;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue