Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: deployment
    • Labels:
      None

      Description

      some logger names in server.log:

      javax.enterprise.system.tools.admin.org.glassfish.deployment.admin

      javax.enterprise.system.tools.deployment.org.glassfish.deployment.common

      javax.enterprise.system.container.web.com.sun.enterprise.web

      javax.enterprise.system.container.ejb.com.sun.ejb.containers

      These long logger names occupy a big portion of the log line, making it harder to view logs and increasing log size unnecessarily.

      The use of javax prefix for an implementation of some standard is questionable. From a user/admin's perspective, he doesn't care if the module is implementing a standard or not. It's just a piece of the GlassFish product.

      The use of this kind of prefix also makes it hard for average users to map the log to a subsystem. I suggest we simplify the logger name to something like:

      org.glassfish.naming
      org.glassfish.ejb
      org.glassfish.web (and their sub loggers, if any).

        Activity

        Hide
        sandeep.shrivastava added a comment -

        We had gone through extensive reviews for the Logging One Pager and it was decided by AsArch to use the javax.enterprise prefix for GlassFish.

        You could use shorter logger names as follows

        javax.enterprise.system.tools.deployment.admin

        javax.enterprise.system.tools.deployment.common

        javax.enterprise.system.container.web

        javax.enterprise.system.container.ejb

        I am turning this back to you for updating the logger names used.

        Show
        sandeep.shrivastava added a comment - We had gone through extensive reviews for the Logging One Pager and it was decided by AsArch to use the javax.enterprise prefix for GlassFish. You could use shorter logger names as follows javax.enterprise.system.tools.deployment.admin javax.enterprise.system.tools.deployment.common javax.enterprise.system.container.web javax.enterprise.system.container.ejb I am turning this back to you for updating the logger names used.
        Hide
        Tom Mueller added a comment -

        Reassigning to component lead as the assignee is no longer with the project.

        Show
        Tom Mueller added a comment - Reassigning to component lead as the assignee is no longer with the project.
        Hide
        Hong Zhang added a comment -

        Need to talk with other teams to see if we can make this change consistently across areas.

        Show
        Hong Zhang added a comment - Need to talk with other teams to see if we can make this change consistently across areas.

          People

          • Assignee:
            Hong Zhang
            Reporter:
            Cheng Fang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: