Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-22820

Changing NuGet indexing log entry from DEBUG to INFO level

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Resolution: Will not implement
    • Affects Version/s: 6.20.0
    • Fix Version/s: None
    • Component/s: Indexer, Logging, Metadata, NuGet
    • Labels:
      None

      Description

      Feature description: This request is to change the below log entry from DEBUG to INFO level, which will print while indexing a NuGet package.

      2020-06-24 10:56:10,024 [http-nio-8081-exec-1101] [DEBUG] (o.a.a.n.NuGetServiceImpl:274) - Added NuPkg path 'nuget-local-site1/path/to/package/package.1.0.0.nupkg ' with id of 'package' and version '1.0.0' to cache.

      Below is the complete log entry which will be logged in Artifactory log while indexing a NuGet package:
      2020-06-30 08:53:58,323 [art-exec-4251] [INFO ] (o.j.r.n.NuGetWorkContext:68) - Indexing NuGet metadata for repo 'nuget-remote-cache' on path 'HtmlSanitizer.5.0.331.nupkg'
      2020-06-30 08:53:58,331 [art-exec-4251] [INFO ] (o.j.r.n.NuGetWorkContext:88) - Finished writing Nuget metadata for repo nuget-remote-cache on path 'HtmlSanitizer.5.0.331.nupkg' at 1593507238331 ms
      2020-06-30 08:53:58,338 [art-exec-4251] [DEBUG] (o.a.a.n.NuGetServiceImpl:274) - Added NuPkg path 'nuget-remote-cache/HtmlSanitizer.5.0.331.nupkg ' with id of 'HtmlSanitizer' and version '5.0.331' to cache.
       

      What is the expected behavior: Without enabling NuGet debug loggers Artifactory should print the below log entry in the Artifactory log.
      2020-06-24 10:56:10,024 [http-nio-8081-exec-1101] [DEBUG] (o.a.a.n.NuGetServiceImpl:274) - Added NuPkg path 'nuget-local-site1/path/to/package/package.1.0.0.nupkg ' with id of 'package' and version '1.0.0' to cache.
       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            pavang Pavan Gonugunta
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-22820 -
                SYNCHRONIZED
                • Last Sync Date: