How do I increase the portal.log loglevel?

book

Article ID: 34628

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

Sometimes, it is necessary to gather additional logging information in the portal.log. This can be accomplished through the Liferay Control Panel.

These changes can be made on the fly without restarting wasp, however it may still be necessary to restart wasp if we are troubleshooting something that occurs during the startup phase.

Once troubleshooting has been completed, it is advisable to set the loglevel back to ERROR.

Environment

Release:
Component: CAUIM

Resolution

Accessing the Logging Facilities
In order to access and modify the logging levels you will need to use the Liferay Control Panel.
  1. Log into Liferay
  2. Click Go to in the Liferay toolbar
  3. Click Control Panel
  4. Click Server Administration from the left hand menu
  5. Click the Log Levels button
Here you will see a list of various logging facilities that exist by default in Liferay.

Increasing Logging for Specific Categories
General Liferay Logging
  1. Find com.liferay
  2. Change the Level dropdown to DEBUG
  3. Click Save

Dashboard Portlet Logging
  1. Click the Add Category button
  2. Enter com.firehunter.dashboard in the text field
  3. Choose DEBUG from the dropdown
  4. Click Save

Mobile App Logging
  1. Click the Add Category button
  2. Enter com.firehunter.mobile in the text field
  3. Choose DEBUG from the dropdown
  4. Click Save