glassfish
  1. glassfish
  2. GLASSFISH-16394

Add 'Delete Log Levels' and 'Load Default' button under Logger Settings page

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 4.0_b72_EE7MS4, 4.0
    • Component/s: admin_gui
    • Labels:
      None
    • Environment:

      all

      Description

      Add 'Delete Log Levels' and 'Load Default' button under Logger Settings page.

      Going to create new bug for REST so Jason can create REST API for the same.

        Issue Links

          Activity

          Hide
          naman_mehta added a comment -

          delete-log-levels commands are available from logging side. Made required check-ins for the same.

          trunk/v3/core/logging/src/main/java/com/sun/enterprise/server/logging/commands/DeleteLogLevel.java

          Show
          naman_mehta added a comment - delete-log-levels commands are available from logging side. Made required check-ins for the same. trunk/v3/core/logging/src/main/java/com/sun/enterprise/server/logging/commands/DeleteLogLevel.java
          Hide
          Anissa Lam added a comment -

          target for 4.0

          Show
          Anissa Lam added a comment - target for 4.0
          Hide
          Anissa Lam added a comment - - edited

          1. For Logger Settings page, what is the CLI command to get the default Logger Settings value ? Or is there API to get that ? Since this is different than any other config beans, I cannot just get the default value.

          2. What exactly is the delete-log-levels command do ? asadmin delete-log-levels --help doesn't give any information.

          Please provide the answers for the 2 questions so i can work on that.

          Show
          Anissa Lam added a comment - - edited 1. For Logger Settings page, what is the CLI command to get the default Logger Settings value ? Or is there API to get that ? Since this is different than any other config beans, I cannot just get the default value. 2. What exactly is the delete-log-levels command do ? asadmin delete-log-levels --help doesn't give any information. Please provide the answers for the 2 questions so i can work on that.
          Hide
          Anissa Lam added a comment -

          There is already UI provided to add or delete loggers. So, The first request is done.

          As for providing Default value, console will implement that when GLASSFISH-19490 is implemented.

          Show
          Anissa Lam added a comment - There is already UI provided to add or delete loggers. So, The first request is done. As for providing Default value, console will implement that when GLASSFISH-19490 is implemented.
          Hide
          Anissa Lam added a comment -

          Added the default button to the screen.
          The 'multiLineMode' attribute will not have default value until GLASSFISH-19494 is fixed.

          Log Message:
          ------------
          GLASSFISH-16394. Add Load Default Button to the Logging General screen to display default logging attributes.

          Revisions:
          ----------
          58670

          Modified Paths:
          ---------------
          trunk/main/appserver/admingui/common/src/main/resources/configuration/loggerGeneral.jsf

          Show
          Anissa Lam added a comment - Added the default button to the screen. The 'multiLineMode' attribute will not have default value until GLASSFISH-19494 is fixed. Log Message: ------------ GLASSFISH-16394 . Add Load Default Button to the Logging General screen to display default logging attributes. Revisions: ---------- 58670 Modified Paths: --------------- trunk/main/appserver/admingui/common/src/main/resources/configuration/loggerGeneral.jsf

            People

            • Assignee:
              Anissa Lam
              Reporter:
              naman_mehta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: