GlassFish tip: verbose glassfish

I love the GlassFish graphical log viewer (and more generally the Web Console) as well as the NetBeans integration, but in development mode, looking for application System.out’s can be challenging.

So I often use this :

asadmin start-domain --verbose

Documentation for this supported feature is here.

Btw, it seems like this is the only way to have certain JVM options such as -verbose:gc (although using JConsole may be a better choice) defined in domain.xml to show up at all.

Author: alexismp

Google Developer Relations in Paris.

%d bloggers like this: