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

MergeAll Option cause a desynchronisation of the log rotation

    Details

    • Support Ticket IDs:

      Description

      The mergeAll option allows to create two Debug instance controlling the same file.
      Even if a common PrintWriter is used, some local variable could be in conflict. This is the case for the variable "lastRotation", used to create a new file (shared between the two instances) if the rotation is needed.

      A correction will be to avoid the possibility to have two (or more) Debug instance if the mergeAll option is used. The DebugProvider is a good place for doing that : it can check the mergeAll options and return the same Debug instance if the mergeAll option is ON.

        Attachments

        1. lsWithBug.txt
          0.9 kB
        2. LogTest.java
          4 kB
        3. jiraBugDebug.jpg
          112 kB

          Issue Links

            Activity

              People

              • Assignee:
                quentin.castel Quentin CASTEL [X] (Inactive)
                Reporter:
                quentin.castel Quentin CASTEL [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: