Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-17172

debugfiles.properties doesn't define OpenDJ related class names properly

    XMLWordPrintable

    Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 6.5.1, 6.5.2, 6.5.3
    • None
    • debug logging
    • Rank:
      1|hzjt5p:1fr
    • AM Sustaining Sprint 81
    • 3

      Description

      Bug description

      debugfiles.properties doesn't define OpenDJ related class names properly

      How to reproduce the issue

      1. Install OpenAM 6.5.1
      2. Leave debug level to "Error"
      3. Enable standard out logging by specifying "-Dcom.sun.identity.util.debug.provider=com.sun.identity.shared.debug.impl.StdOutDebugProvider" to VM option in catalina.sh
      4. Start OpenAM and login to admin console
      5. Go to http://openam.example.com:18080/openam/Debug.jsp
      6. Select Category: OpenDJ-SDK Level:"Message" and Submit
      7. Confirm modules "org.forgerock.opendj." and "com.forgerock.opendj."
      8. Notice in catalina.out that debug messages such as "Connection attempt succeeded" are not printed out
      Expected behaviour
      debug messages from OpenDJ SDK such as from CachedConnectionPool class should be printed out
      
      Current behaviour
      No debug messages are printed out when logging to standard out
      

      Work around

      Enable "message" level logging on server instance level setting or select each class from "Debug Instances:" dropdown list after selecting Category: OpenDJ-SDK

      Code analysis

      DebugImpl class instance is initialized with specific OpenDJ classname. Therefore, Debug.jsp page needs to display each specific classname instead of org.forgerock.opendj.*

        Attachments

          Issue Links

            Activity

              People

              sachiko Sachiko Wallace
              sachiko Sachiko Wallace
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: