To change log levels in Embedded GlassFish Server, you can follow the steps in this section or you can use the Embedded Server API as shown in Example 9. For more information about GlassFish Server logging, see Chapter 7, Administering the Logging Service, in Oracle GlassFish Server 3.0.1 Administration Guide.
Ensure that you have write permission access to the $JAVA_HOME/jre/lib/logging.properties file.
Use a text editor to edit the $JAVA_HOME/jre/lib/logging.properties file.
Change the java.util.logging.ConsoleHandler.level log level to FINE or FINEST.
Add GlassFish Server log levels to the end of the file and adjust them as necessary.
For example, add javax.enterprise.system.tools.deployment.level=FINE.