Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-1853

Add the log level access mechanism

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Add the log level setting and reading mechanism, through which users can control the log content.
      This mechanism provides the url interface,through which users can dynamically set the log level. Service restores the original log level after restart.

      The format of the interface is as follows:
      1. Read the log level. URL address is http: //HOST: PORT/admin/logLevel? Log = CLASS_NAME
      2. Set the log level. URL address is http: //HOST: PORT/admin/logLevel? Log = CLASS_NAME & level = LOG_LEVEL

      The above parameters include:
      HOST: host name or ip address of sentry server.
      PORT: port of sentry server.
      CLASS_NAME: name of class whose log level is read or set.
      LOG_LEVEL: the log level to be set.

        Attachments

        1. SENTRY-1853.008.patch
          11 kB
          Donghui Xu
        2. SENTRY-1853.007.patch
          11 kB
          Donghui Xu
        3. SENTRY-1853.006.patch
          11 kB
          Donghui Xu
        4. SENTRY-1853.005.patch
          11 kB
          Donghui Xu
        5. SENTRY-1853.004.patch
          11 kB
          Donghui Xu
        6. SENTRY-1853.003.patch
          11 kB
          Donghui Xu
        7. SENTRY-1853.002.patch
          9 kB
          Donghui Xu
        8. SENTRY-1853.001.patch
          8 kB
          Donghui Xu

          Issue Links

            Activity

              People

              • Assignee:
                davidxdh Donghui Xu
                Reporter:
                davidxdh Donghui Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: