[GLASSFISH-18734] Do not use System.out.println() in production code Created: 16/May/12  Updated: 16/May/12

Status: Open
Project: glassfish
Component/s: logging, OSGi
Affects Version/s: 3.1.2
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Harald Wellmann Assignee: naman_mehta
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


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.)

Generated at Thu Nov 26 14:07:30 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.