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

Legacy AM debug logger not mentioned how to do in AM 7

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0, 7.0.1
    • Fix Version/s: None
    • Component/s: debug logging
    • Labels:
    • Rank:
      1|i03fj3:
    • Support Ticket IDs:

      Description

      Bug description

      It is mentioned that it was intended that one can remove logback-classic-1.2.3.jar and replace this with openam-legacy-debug-slf4j-7.0.x.jar to get back the old AM6.x logging. However the following is missed

      1. No documentation exists
      2. The binary openam-legacy-debug-slf4j-*.jar is no where to be found

      Why is this needed? Because debugconfig.properties will not work with the new logback and if one want to use the old debug logger

      Expectation:

      • A mechanisms needed to provide openam-legacy-debug-slf4j-*.jar
      • Documentation

      How to reproduce the issue

      • Set up debugconfig.properties as in 6.5 documentation
      • Rotation does not work.
      • The constraint is that one wants to old AM debug logging files to have seemless upgrade.
      Expected behaviour
      Get back AM 6.5.x behaviour (log files and rotation capabilities)
      
      Current behaviour
      Lost capability to use logback but this at this point one may need to do undocumented logging and tedious mapping to get back the old AM log files.
      

      Work around

      Custom unsupported logback. <--- KEY POINT (UNSUPPORTED)

      Code analysis

      AMSetupServlet.java
      ... and lack of the new debug slf4j provider
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                chee-weng.chea C-Weng C
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: