loggingglassfishglassfish-2.x

How do I set logging level in Glassfish?


We are running glassfish 2.1; I want to reduce the chattiness of the logging to server.log but cannot find what config file allows me to do this. (I'm assuming this will use log4J syntax.) thanks!


Solution

  • Glassfish uses JDK (java.util) logging, which is configured in the admin UI, typically running http://server:4848

    Depending on whether you installed it as developer profile (the default) or clustering, the logging settings will be two different places.

    Developer profile: Application Server/Logging/Log Levels

    Cluster profile: Configurations/cluster-config/logger settings/levels