The progress of the repository index calculation can be monitored using the following files: $JFROG_HOME/artifactory/var/log/artifactory-service.log in Artifactory 7, or $JFROG_HOME/artifactory/logs/artifactory.log in Artifactory 6.
For example, a local NPM repository's index recalculation triggered via the UI is demonstrated by the following entries in the logs:
For example, a local NPM repository's index recalculation triggered via the UI is demonstrated by the following entries in the logs:
2023-03-09T20:24:54.905Z [jfrt ] [INFO ] [d78a21769b8474d ] [t.a.RecalculateIndexService:63] [http-nio-8081-exec-4] - Recalculating index for repository test-npm-local scheduled to run 2023-03-09T20:24:54.908Z [jfrt ] [INFO ] [47857f39ce42fb09] [o.a.a.n.NpmServiceImpl:245 ] [e42fb09|art-exec-512] - Npm metadata recalculation has been started for path 'test-npm-local:' 2023-03-09T20:24:54.912Z [jfrt ] [INFO ] [47857f39ce42fb09] [o.a.a.n.NpmServiceImpl:252 ] [e42fb09|art-exec-512] - Recursively reindexing npm packages under 'test-npm-local:'. 2023-03-09T20:24:54.953Z [jfrt ] [INFO ] [47857f39ce42fb09] [o.a.a.n.NpmServiceImpl:258 ] [e42fb09|art-exec-512] - Finished npm metadata recalculation for repo 'test-npm-local' in 42.51 millis 2023-03-09T20:24:55.030Z [jfrt ] [INFO ] [7683ac19157d93c4] [.NpmPackageMetadataIndexer:407] [57d93c4|art-exec-513] - Preparing to write npm package metadata for repo 'test-npm-local' on path '.npm/jquery-json-diff/package.json' 2023-03-09T20:24:55.040Z [jfrt ] [INFO ] [7683ac19157d93c4] [.NpmPackageMetadataIndexer:417] [57d93c4|art-exec-513] - Finished writing npm package metadata for repo 'test-npm-local' on path '.npm/jquery-json-diff/package.json'