Changing log level in Portlet Container
By user13334247 on Mar 23, 2009
The Portlet Container 2.x that is part of Sun GlassFish Web Space Server , Liferay and OpenPortal Portlet Container uses JDK logging (JSR 47) for logging messages , exceptions etc. By default the log level in GlassFish is INFO. If you need to disable the portlet container logs or change the log level, how to do it?. Following are the steps..
- Login to GlassFish adminconsole(default: localhost:4848)
- Click on "Application Server" on the left side.Then click on Logging->Log levels as shown below
- Then scroll down and click on "Add Property" and enter the "debug.com.portal.portletcontainer" in Name field and any valid JDK Log level(eg: INFO or WARNING or SEVERE etc..) in Value field as shown below.
- Click on "Save". This should take effect immediately, no restart is required.