Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7174

Improve ProfileAndTraceInterceptor to print arguments properly

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 6.14.0
    • Component/s: None
    • Labels:
      None
    • Issue discovered during:
      Other
    • Sprint:
      EJBCA Sprint 17

      Description

       

      Currently the ProfileAndTraceInterceptor prints like this:

       

      2018-08-01 12:00:53,256 TRACE [org.ejbca.core.model.era.RaMasterApiProxyBean] (default task-68) >isAuthorizedNoLogging([CN=raadmin3,O=PrimeKey,C=AE, [Ljava.lang.String;@2dd07417])

       

      It would be so good, for error tracing to have it print like this instead:

      2018-08-01 13:18:22,760 TRACE [org.ejbca.core.model.era.RaMasterApiSessionBean] (default task-1) >isAuthorizedNoLogging(CN=raadmin3,O=PrimeKey,C=AE; [/ra_functionality/view_end_entity])

       

      (also note the ; instead of , since , is common inside our parameters.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tomas Tomas Gustavsson
                Reporter:
                tomas Tomas Gustavsson
                Verified by:
                Samuel Lidén Borell
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h