Changing the log level for the class



We can change the log levels (debug, info, error, all ....etc) for the liferay at Control panel but the changes will revert back once the server restarted.

Permanent solution is to override the portal-log4j.xml in your ext - plugin and change below entries.

Set log level to info instead of error.

1 <category name="com.liferay.portal.deploy.hot.PortletHotDeployListener">
2        <priority value="INFO" />
3 </category>

Here the category name is class name and priority values are info.

Comments

Popular posts from this blog

Theme display in javascript

How to know which liferay version we are using

Viewing the SQL Query in liferay : debugging the SQL Query in Hibernate