Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2449

RightManager : Test logger level

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Invalid
    • Icon: Major Major
    • 4.0RC5
    • 4.0RC4
    • Plugin core
    • None

      There are multiple logs in RightManager where the level is not tested.

      For example, line 324, we have :

      getLogger().debug("Try to determine if user {} has the right '{}' on the object context {}", userIdentity, rightId, object);

      Without the following test :

      if (getLogger().isDebugEnabled())

      It's mostly important for debug and info logs.

            Unassigned Unassigned
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: