Liferay 5.1.2 logging

This post is a simple reminder to myself on how to change the logging of Liferay 5.1.2. I have a simple install of Liferay on tomcat 6.0. To change logging, just edit webapps\ROOT\WEB-INF\classes\log4j.properties and restart the server. I added this line: log4j.category.com.liferay.portal=DEBUG to get lots of debug information in my logs.

Advertisements
This entry was posted in Java Development, Portlets, Web Development. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s