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

Add the log level access mechanism

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • 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
          Davy Xu
        2. SENTRY-1853.007.patch
          11 kB
          Davy Xu
        3. SENTRY-1853.006.patch
          11 kB
          Davy Xu
        4. SENTRY-1853.005.patch
          11 kB
          Davy Xu
        5. SENTRY-1853.004.patch
          11 kB
          Davy Xu
        6. SENTRY-1853.003.patch
          11 kB
          Davy Xu
        7. SENTRY-1853.002.patch
          9 kB
          Davy Xu
        8. SENTRY-1853.001.patch
          8 kB
          Davy Xu

        Issue Links

          Activity

            People

              davidxdh Davy Xu
              davidxdh Davy Xu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: