glassfish
  1. glassfish
  2. GLASSFISH-18734

Do not use System.out.println() in production code

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2
    • Fix Version/s: None
    • Component/s: logging, OSGi
    • Labels:
      None

      Description

      A couple of GlassFish messages always show up on my console even when logging is turned off. The following messages should be suppressed or be converted to proper log messages:

      ./core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/osgi/GlassFishMainActivator.java:196: System.out.println("Provisioning options are " + provisioningOptions);
      ./core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/osgi/EmbeddedOSGiGlassFishRuntime.java:114: System.out.println("Completed shutdown of GlassFish runtime");
      ./core/logging/src/main/java/com/sun/enterprise/server/logging/LogManagerService.java:600: System.out.println("Completed shutdown of Log manager service");

      (Line numbers refer to the 3.1.2 source tree.)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            naman_mehta
            Reporter:
            Harald Wellmann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: