Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-24999

query params for yum related db query not logged

    XMLWordPrintable

    Details

    • Notability:
      n/a

      Description

      This query does not log its params:

      2020-08-19 12:20:09,426-0500 DEBUG [event-13-thread-41] admin org.sonatype.nexus.repository.yum.internal.database.YumQueryComponent - Finding RPMs last updated with query: SELECT FROM asset WHERE bucket=:bucket AND last_updated > :lastupdated AND component IS NOT NULL

      As such the log statement is practically useless as is.

      Expected

      Adjust the log statement to log the params and the query at the same time.

        Attachments

          Activity

            People

            Assignee:
            mbucher Michael Bucher
            Reporter:
            plynch Peter Lynch
            Last Updated By:
            Michael Prescott Michael Prescott
            Team:
            NXRM - Groot
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title