diff --git a/.changeset/healthy-zoos-lie.md b/.changeset/healthy-zoos-lie.md new file mode 100644 index 000000000..c735d1155 --- /dev/null +++ b/.changeset/healthy-zoos-lie.md @@ -0,0 +1,5 @@ +--- +'@verdaccio/store': patch +--- + +chore: add info to log when local storage is used diff --git a/packages/store/src/local-storage.ts b/packages/store/src/local-storage.ts index 74c74f8c9..e748f3ad6 100644 --- a/packages/store/src/local-storage.ts +++ b/packages/store/src/local-storage.ts @@ -60,7 +60,12 @@ class LocalStorage { if (_.isNil(Storage)) { assert(this.config.storage, 'CONFIG: storage path not defined'); debug('no custom storage found, loading default storage @verdaccio/local-storage'); - return new LocalDatabase(config, logger); + const localStorage = new LocalDatabase(config, logger); + logger.info( + { pluginCategory: PLUGIN_CATEGORY.STORAGE }, + 'plugin @verdaccio/local-storage successfully loaded (@{pluginCategory})' + ); + return localStorage; } return Storage as PluginStorage; }