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

Setting just "com.orientechnologies" logger to TRACE doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.13.0
    • Component/s: Database, Logging
    • Labels:
      None

      Description

      If you set the "com.orientechnologies" and "com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage" loggers to TRACE but leave the root logger as INFO then you don't see any logging from OrientDB. This is due to an upstream issue where the logger name is not passed into the custom LogRecord created by Orient's OLogManager:

      https://www.prjhub.com/#/issues/10200

      This missing logger name means that Pax-Logging redirects the LogRecord to its root logger, but since that's set to INFO we don't get any logging on the console.

      EDIT: actually even with the root logger set to TRACE we still don't appear to get Orient logging, so I suspect the missing logger name is causing the LogRecords to be thrown away somewhere along the line.

      It should be possible to workaround this by adding a log handler to fix the logger name.

        Attachments

          Activity

            People

            Assignee:
            mbucher Michael Bucher
            Reporter:
            mcculls Stuart McCulloch
            Last Updated By:
            Peter Lynch Peter Lynch
            Team:
            Nexus - Platform
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                tigCommentSecurity.panel-title