Change the logging level of collector-manager
search cancel

Change the logging level of collector-manager

book

Article ID: 333431

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

This article explains how the level of logging used in Watch4net|M&R can be changed to suit requirements when more/less detail is required in collecting log files.

Environment

Watch4Net/M&R - 7.x

Resolution

The Watch4net logging detail settings range from SEVERE to FINEST as follows:

  • SEVERE (highest level logging with least detail)
  • WARNING
  • INFO (default logging level)
  • FINE
  • FINEST (lowest level logging with most detail)

 

To change the level of logging used by Watch4net, do the following:

  1. Navigate to the Watch4net /conf directory here:
/opt/APG/Collecting/Collector-Manager/[relevant collector]/conf/
  1. Find and open the logging.properties file in an appropriate editor.
  2. Change the level of logging to the desired level of detail. There are two locations in the logging.properties file where you need to change the logging detail setting. These are in the Global properties and Facility specific properties sections at the top and bottom of the file. Examples of this file with logging levels set to INFO and FINEST are presented in the screenshots following this procedure.
  3. Save and close the logging.properties file.
  4. Restart the Watch4net collector manager to apply the changes in the active environment.
Watch4net logging level set to INFO in logging.properties file

Watch4net logging level set to FINEST in logging.properties file