This website uses cookies to ensure you get the best experience. Learn More.
How to enable or disable logging on a live Liferay Portal server
As an administrator of a Liferay Portal server, you may be required to trace the behaviour of one or more services for a live instance.
This article outlines the steps for enabling or disabling logging categories which typically represent a component or service within Liferay Portal.
The output from the logging system (i.e. Apache Log4j) is typically written to standard output, which is normally routed to the web or app server's log files
e.g.
To enable logging on a live Liferay Portal server, follow these steps : 1/ Navigate to Control Panel > Server Administration as admin user 2/ Select "Log Level" tab 3/ Select "Add Category" tab 4/ Enter category name in text field eg.
com.liferay.portlet.InvokerPortletImpl
5/ Select required logging level from pick list eg.
DEBUG, INFO, WARN, ERROR or FATAL
6/ Click Save button
To disable logging on a live Liferay Portal server, follow these steps : 1/ Navigate to Control Panel > Server Administration as admin user 2/ Select "Log Level" tab 3/ Select "Update Category" tab 4/ Enter category name in text field and click search eg.
5/ Find matching categories in results list 6/ Select required logging level from pick list for each category eg.
7/ Click Save button